Skip to content

Commit 246d695

Browse files
fix: use threads
1 parent 1f626a2 commit 246d695

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/celery-library/tests/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,11 @@ def _on_worker_init_wrapper(sender: WorkController, **_kwargs):
141141

142142
with start_worker(
143143
celery_app,
144+
concurrency=1,
145+
pool="threads",
144146
loglevel="info",
145147
perform_ping_check=False,
146148
queues="default",
147-
shutdown_timeout=10.0,
148149
) as worker:
149150
try:
150151
yield worker

0 commit comments

Comments
 (0)