mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-07-04 17:58:22 +00:00
Refactor task management: replace Celery with Procrastinate for background tasks and update related configurations
This commit is contained in:
@ -47,8 +47,7 @@ curl -X POST http://localhost:4000/api/auth/login/ \
|
||||
```
|
||||
expected response: `{"message":"Unable to log in with provided credentials."}`
|
||||
|
||||
5. For Celery to work run the worker and the beat
|
||||
5. For procrastinate (postgres background tasks) to work run the worker
|
||||
```
|
||||
celery -A apibase worker --loglevel=info
|
||||
celery -A apibase beat --loglevel=info
|
||||
python manage.py procrastinate worker
|
||||
```
|
Reference in New Issue
Block a user