Skip to content

Commit

Permalink
fix: added timeout of one hour to queue workers
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaile committed May 3, 2024
1 parent a567c7c commit 846ad74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
image: ghcr.io/nethesis/parceler-php:latest
stop_signal: SIGKILL
user: www-data
command: php artisan queue:work --tries=3
command: php artisan queue:work --tries=3 --timeout=1800
volumes:
- storage:/var/www/html
- /etc/localtime:/etc/localtime:ro
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
extends:
service: php
stop_signal: SIGKILL
command: php artisan queue:listen --tries=3
command: php artisan queue:listen --tries=3 --timeout=1800
environment:
PHP_HOST: php
PHP_PORT: 9000
Expand Down

0 comments on commit 846ad74

Please sign in to comment.