2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-09-16 17:19:03 +00:00

fix: consume default queue (#1249)

This commit is contained in:
Revant Nandgaonkar 2023-10-25 10:51:30 +05:30 committed by GitHub
parent ebf3df296f
commit 839d44d167
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 8 deletions

View File

@ -70,11 +70,11 @@ services:
queue-short:
<<: *backend_defaults
command: bench worker --queue short
command: bench worker --queue short,default
queue-long:
<<: *backend_defaults
command: bench worker --queue long
command: bench worker --queue long,default,short
scheduler:
<<: *backend_defaults

View File

@ -293,8 +293,7 @@ honcho start \
watch \
schedule \
worker_short \
worker_long \
worker_default
worker_long
```
Alternatively you can use the VSCode launch configuration "Honcho SocketIO Watch Schedule Worker" which launches the same command as above.

View File

@ -8,8 +8,8 @@ This setup is a very simple single compose file that does everything to start re
- backend, serves gunicorn backend
- frontend, serves static assets through nginx frontend reverse proxies websocket and gunicorn.
- queue-long, long rq worker.
- queue-short, short rq worker.
- queue-long, long default and short rq worker.
- queue-short, default and short rq worker.
- schedule, event scheduler.
- websocket, socketio websocket for realtime communication.

View File

@ -119,7 +119,7 @@ services:
- bench
- worker
- --queue
- long
- long,default,short
volumes:
- sites:/home/frappe/frappe-bench/sites
- logs:/home/frappe/frappe-bench/logs
@ -133,7 +133,7 @@ services:
- bench
- worker
- --queue
- short
- short,default
volumes:
- sites:/home/frappe/frappe-bench/sites
- logs:/home/frappe/frappe-bench/logs