|
|
|
@ -74,7 +74,12 @@
|
|
|
|
10. If you need to handle and debug the async tasks (e.g. dataset importing and documents indexing), please start the worker service.
|
|
|
|
10. If you need to handle and debug the async tasks (e.g. dataset importing and documents indexing), please start the worker service.
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
```bash
|
|
|
|
uv run celery -A app.celery worker -P gevent -c 1 --loglevel INFO -Q dataset,generation,mail,ops_trace,app_deletion
|
|
|
|
uv run celery -A app.celery worker -P gevent -c 1 --loglevel INFO -Q dataset,generation,mail,ops_trace,app_deletion,plugin
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Addition, if you want to debug the celery scheduled tasks, you can use the following command in another terminal:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
|
|
|
uv run celery -A app.celery beat
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Testing
|
|
|
|
## Testing
|
|
|
|
|