forked from pool/python-celery
- Update to 3.0.11:
- generic-init.d scripts changed permissions of /var/log & /var/run
In the daemonization tutorial the recommended directories were as follows:
CELERYD_LOG_FILE="/var/log/celery/%n.log"
CELERYD_PID_FILE="/var/run/celery/%n.pid"
But in the scripts themselves the default files were /var/log/celery%n.log
and /var/run/celery%n.pid, so if the user did not change the location
by configuration, the directories /var/log and /var/run would be
created - and worse have their permissions and owners changed.
This change means that:
- Default pid file is /var/run/celery/%n.pid
- Default log file is /var/log/celery/%n.log
- The directories are only created and have their permissions
changed if *no custom locations are set*.
Users can force paths to be created by calling the create-paths
subcommand:
$ sudo /etc/init.d/celeryd create-paths
Upgrading Celery will not update init scripts
To update the init scripts you have to re-download
the files from source control and update them manually.
You can find the init scripts for version 3.0.x at:
http://github.com/celery/celery/tree/3.0/extra/generic-init.d
- Now depends on billiard 2.7.3.17
- Fixes request stack protection when app is initialized more than
once (Issue #1003).
- ETA tasks now properly works when system timezone is not the same
as the configured timezone (Issue #1004).
- Terminating a task now works if the task has been sent to the
pool but not yet acknowledged by a pool process (Issue #1007).
Fix contributed by Alexey Zatelepin
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery?expand=0&rev=71
This commit is contained in:
committed by
Git OBS Bridge
parent
22fb34fcd6
commit
eb8e3de37b
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bc3b45768b34eb4aa7ed8b4e7dbd939d0435f03ebda07bffd60f0e076ee9da76
|
||||
size 1132601
|
||||
3
celery-3.0.11.tar.bz2
Normal file
3
celery-3.0.11.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9aba922645e073955f1eeb5ccba4f3cfc2df119311fef7c543ff2c386f59f7a4
|
||||
size 1134910
|
||||
@@ -1,3 +1,65 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 26 17:42:49 UTC 2012 - alexandre@exatati.com.br
|
||||
|
||||
- Update to 3.0.11:
|
||||
- generic-init.d scripts changed permissions of /var/log & /var/run
|
||||
In the daemonization tutorial the recommended directories were as follows:
|
||||
|
||||
CELERYD_LOG_FILE="/var/log/celery/%n.log"
|
||||
CELERYD_PID_FILE="/var/run/celery/%n.pid"
|
||||
|
||||
But in the scripts themselves the default files were /var/log/celery%n.log
|
||||
and /var/run/celery%n.pid, so if the user did not change the location
|
||||
by configuration, the directories /var/log and /var/run would be
|
||||
created - and worse have their permissions and owners changed.
|
||||
|
||||
This change means that:
|
||||
|
||||
- Default pid file is /var/run/celery/%n.pid
|
||||
- Default log file is /var/log/celery/%n.log
|
||||
|
||||
- The directories are only created and have their permissions
|
||||
changed if *no custom locations are set*.
|
||||
|
||||
Users can force paths to be created by calling the create-paths
|
||||
subcommand:
|
||||
|
||||
$ sudo /etc/init.d/celeryd create-paths
|
||||
|
||||
Upgrading Celery will not update init scripts
|
||||
|
||||
To update the init scripts you have to re-download
|
||||
the files from source control and update them manually.
|
||||
You can find the init scripts for version 3.0.x at:
|
||||
|
||||
http://github.com/celery/celery/tree/3.0/extra/generic-init.d
|
||||
|
||||
- Now depends on billiard 2.7.3.17
|
||||
- Fixes request stack protection when app is initialized more than
|
||||
once (Issue #1003).
|
||||
- ETA tasks now properly works when system timezone is not the same
|
||||
as the configured timezone (Issue #1004).
|
||||
- Terminating a task now works if the task has been sent to the
|
||||
pool but not yet acknowledged by a pool process (Issue #1007).
|
||||
|
||||
Fix contributed by Alexey Zatelepin
|
||||
- Terminating a task now properly updates the state of the task to revoked,
|
||||
and sends a ``task-revoked`` event.
|
||||
- Multi: No longer parses --app option (Issue #1008).
|
||||
- Generic worker init script now waits for workers to shutdown by default.
|
||||
- Multi: stop_verify command renamed to stopwait.
|
||||
- Daemonization: Now delays trying to create pidfile/logfile until after
|
||||
the working directory has been changed into.
|
||||
- celery worker and celery beat commands now respects
|
||||
the --no-color option (Issue #999).
|
||||
- Fixed typos in eventlet examples (Issue #1000)
|
||||
|
||||
Fix contributed by Bryan Bishop.
|
||||
Congratulations on opening bug #1000!
|
||||
- Tasks that raise celery.exceptions.Ignore are now acknowledged.
|
||||
- Beat: Now shows the name of the entry in sending due task logs.
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 20 22:24:32 UTC 2012 - alexandre@exatati.com.br
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: python-celery
|
||||
Version: 3.0.10
|
||||
Version: 3.0.11
|
||||
Release: 0
|
||||
Url: http://celeryproject.org
|
||||
Summary: Distributed Task Queue
|
||||
|
||||
Reference in New Issue
Block a user