Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jc2k/celery_tests
Branches to try and recreate bugs
https://github.com/jc2k/celery_tests
Last synced: 7 days ago
JSON representation
Branches to try and recreate bugs
- Host: GitHub
- URL: https://github.com/jc2k/celery_tests
- Owner: Jc2k
- Created: 2013-10-31T23:25:51.000Z (about 11 years ago)
- Default Branch: bug_1611
- Last Pushed: 2013-10-31T23:27:16.000Z (about 11 years ago)
- Last Synced: 2024-11-08T18:53:14.284Z (2 months ago)
- Language: Python
- Size: 102 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
This seems to be an interaction between gevent and mingle as ``--without-mingle`` avoids this issue and it only happens with a gevent pool.
Install and start 2 workers::
pip install -r requirements.txt
celery -A bug_1611 worker -n worker1 -l INFO
celery -A bug_1611 worker -n worker2 -l INFOInject some tasks::
(bug_1603)john@curiosity:~/bug_1603$ celery -A bug_1611 shell
Python 2.7.3 (default, Sep 26 2013, 20:03:06)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from bug_1611.celery import add
>>> import time
>>> while True:
... time.sleep(1)
... add(1, 2)Ctrl+c a worker. Within a few seconds the other worker will stop.