領収証発行サービス
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
498B

  1. <?php
  2. namespace App\Jobs;
  3. use Illuminate\Bus\Queueable;
  4. use Illuminate\Contracts\Queue\ShouldQueue;
  5. use Illuminate\Foundation\Bus\Dispatchable;
  6. use Illuminate\Queue\InteractsWithQueue;
  7. use Illuminate\Queue\SerializesModels;
  8. abstract class BaseJob implements ShouldQueue
  9. {
  10. use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
  11. /**
  12. * ジョブを再試行する前に待機する秒数を計算
  13. */
  14. public function backoff(): int
  15. {
  16. return 5;
  17. }
  18. }