Skip to content

Commit 0a9d024

Browse files
committed
refact: queue timeout
1 parent 90c87c4 commit 0a9d024

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docker-compose.1.x.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ services:
2525
dockerfile: development.Dockerfile
2626
extra_hosts:
2727
- 'host.docker.internal:host-gateway'
28-
command: ["sh", "-c", "php artisan config:cache && php artisan queue:work --tries=3 --timeout=3500"]
28+
command: ["sh", "-c", "php artisan config:cache && php artisan queue:work --tries=3 --timeout=3750"]
2929
environment:
3030
WWWUSER: '${WWWUSER}'
3131
LARAVEL_SAIL: 1
@@ -45,7 +45,7 @@ services:
4545
dockerfile: development.Dockerfile
4646
extra_hosts:
4747
- 'host.docker.internal:host-gateway'
48-
command: ["sh", "-c", "php artisan config:cache && php artisan queue:work --queue kanvas-social --tries=3 --timeout=1750"]
48+
command: ["sh", "-c", "php artisan config:cache && php artisan queue:work --queue kanvas-social --tries=3 --timeout=3750"]
4949
environment:
5050
WWWUSER: '${WWWUSER}'
5151
LARAVEL_SAIL: 1
@@ -65,7 +65,7 @@ services:
6565
dockerfile: development.Dockerfile
6666
extra_hosts:
6767
- 'host.docker.internal:host-gateway'
68-
command: ["sh", "-c", "php artisan config:cache && php artisan queue:work --queue notifications --tries=3 --timeout=1750"]
68+
command: ["sh", "-c", "php artisan config:cache && php artisan queue:work --queue notifications --tries=3 --timeout=3750"]
6969
environment:
7070
WWWUSER: '${WWWUSER}'
7171
LARAVEL_SAIL: 1

docker-compose.development.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ services:
2424
dockerfile: development.Dockerfile
2525
extra_hosts:
2626
- 'host.docker.internal:host-gateway'
27-
command: ["sh", "-c", "php artisan config:cache && php artisan queue:work --tries=3 --timeout=1750"]
27+
command: ["sh", "-c", "php artisan config:cache && php artisan queue:work --tries=3 --timeout=3750"]
2828
environment:
2929
WWWUSER: '${WWWUSER}'
3030
LARAVEL_SAIL: 1
@@ -43,7 +43,7 @@ services:
4343
dockerfile: development.Dockerfile
4444
extra_hosts:
4545
- 'host.docker.internal:host-gateway'
46-
command: ["sh", "-c", "php artisan config:cache && php artisan queue:work --queue kanvas-social --tries=3 --timeout=1750"]
46+
command: ["sh", "-c", "php artisan config:cache && php artisan queue:work --queue kanvas-social --tries=3 --timeout=3750"]
4747
environment:
4848
WWWUSER: '${WWWUSER}'
4949
LARAVEL_SAIL: 1
@@ -62,7 +62,7 @@ services:
6262
dockerfile: development.Dockerfile
6363
extra_hosts:
6464
- 'host.docker.internal:host-gateway'
65-
command: ["sh", "-c", "php artisan config:cache && php artisan queue:work --queue notifications --tries=3 --timeout=1750"]
65+
command: ["sh", "-c", "php artisan config:cache && php artisan queue:work --queue notifications --tries=3 --timeout=3750"]
6666
environment:
6767
WWWUSER: '${WWWUSER}'
6868
LARAVEL_SAIL: 1

0 commit comments

Comments
 (0)