Skip to content

Commit

Permalink
Enhance Readme Documentation to Clarify the Importance of Celery Serv…
Browse files Browse the repository at this point in the history
  • Loading branch information
fchange authored and cuiks committed Sep 26, 2024
1 parent 730c586 commit dc18dfb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,12 @@

8. Start Dify [web](../web) service.
9. Setup your application by visiting `http://localhost:3000`...
10. If you need to debug local async processing, 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
poetry run python -m celery -A app.celery worker -P gevent -c 1 --loglevel INFO -Q dataset,generation,mail,ops_trace,app_deletion
```

The started celery app handles the async tasks, e.g. dataset importing and documents indexing.

## Testing

1. Install dependencies for both the backend and the test environment
Expand Down

0 comments on commit dc18dfb

Please sign in to comment.