mirror of
https://github.com/onyx-dot-app/onyx.git
synced 2026-02-16 23:35:46 +00:00
chore(devtools): Add comment in AGENTS.md about the limitations of Celery timeouts with threads (#8257)
This commit is contained in:
@@ -144,6 +144,10 @@ function.
|
|||||||
If you make any updates to a celery worker and you want to test these changes, you will need
|
If you make any updates to a celery worker and you want to test these changes, you will need
|
||||||
to ask me to restart the celery worker. There is no auto-restart on code-change mechanism.
|
to ask me to restart the celery worker. There is no auto-restart on code-change mechanism.
|
||||||
|
|
||||||
|
**Task Time Limits**:
|
||||||
|
Since all tasks are executed in thread pools, the time limit features of Celery are silently
|
||||||
|
disabled and won't work. Timeout logic must be implemented within the task itself.
|
||||||
|
|
||||||
### Code Quality
|
### Code Quality
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user