Selaa lähdekoodia

Bumped version to 2.1.0rc3 and updated Changelog

Ask Solem 14 vuotta sitten
vanhempi
commit
ff48e43bb7
4 muutettua tiedostoa jossa 30 lisäystä ja 3 poistoa
  1. 27 0
      Changelog
  2. 1 1
      README.rst
  3. 1 1
      celery/__init__.py
  4. 1 1
      docs/includes/introduction.txt

+ 27 - 0
Changelog

@@ -213,6 +213,11 @@ News
 * celeryd: Added command-line option :option:`-I`/:option:`--include`:
 * celeryd: Added command-line option :option:`-I`/:option:`--include`:
   Additional (task) modules to be imported
   Additional (task) modules to be imported
 
 
+* celeryd: now emits a warning if running as root (euid is 0).
+
+* Fixed timing issue when declaring the remote control command reply queue
+  which meant replies could be lost.
+
 * :func:`celery.messaging.establish_connection`: Ability to override defaults
 * :func:`celery.messaging.establish_connection`: Ability to override defaults
   used using kwarg "defaults".
   used using kwarg "defaults".
 
 
@@ -387,8 +392,27 @@ Experimental
     celeryd-multi can now be used to start, stop and restart worker nodes.
     celeryd-multi can now be used to start, stop and restart worker nodes.
 
 
         $ celeryd-multi start jerry elaine george kramer
         $ celeryd-multi start jerry elaine george kramer
+
+    This also creates pidfiles and logfiles (:file:`celeryd@jerry.pid`,
+    ..., :file:`celeryd@jerry.log`. To specify a location for these files
+    use the ``--pidfile`` and ``--logfile`` arguments with the ``%n``
+    format::
+
+        $ celeryd-multi start jerry elaine george kramer \
+                        --logfile=/var/log/celeryd@%n.log \
+                        --pidfile=/var/run/celeryd@%n.pid
+
+    Stopping::
+
         $ celeryd-multi stop jerry elaine george kramer
         $ celeryd-multi stop jerry elaine george kramer
+
+    Restarting. The nodes will be restarted one by one as the old ones
+    are shutdown::
+
         $ celeryd-multi restart jerry elaine george kramer
         $ celeryd-multi restart jerry elaine george kramer
+
+    Killing the nodes (**WARNING**: Will discard currently executing tasks)::
+
         $ celeryd-multi kill jerry elaine george kramer
         $ celeryd-multi kill jerry elaine george kramer
 
 
     See ``celeryd-multi help`` for help.
     See ``celeryd-multi help`` for help.
@@ -403,6 +427,9 @@ Experimental
    The worker will write its pid when it starts.  The worker will
    The worker will write its pid when it starts.  The worker will
    not be started if this file exists and the pid contained is still alive.
    not be started if this file exists and the pid contained is still alive.
 
 
+* Added generic init.d script using ``celeryd-multi``
+
+    http://github.com/ask/celery/tree/master/contrib/generic-init.d/celeryd
 
 
 .. _v210-documentation:
 .. _v210-documentation:
 
 

+ 1 - 1
README.rst

@@ -4,7 +4,7 @@
 
 
 .. image:: http://cloud.github.com/downloads/ask/celery/celery_favicon_128.png
 .. image:: http://cloud.github.com/downloads/ask/celery/celery_favicon_128.png
 
 
-:Version: 2.1.0rc2
+:Version: 2.1.0rc3
 :Web: http://celeryproject.org/
 :Web: http://celeryproject.org/
 :Download: http://pypi.python.org/pypi/celery/
 :Download: http://pypi.python.org/pypi/celery/
 :Source: http://github.com/ask/celery/
 :Source: http://github.com/ask/celery/

+ 1 - 1
celery/__init__.py

@@ -1,6 +1,6 @@
 """Distributed Task Queue"""
 """Distributed Task Queue"""
 
 
-VERSION = (2, 1, 0, "rc2")
+VERSION = (2, 1, 0, "rc3")
 
 
 __version__ = ".".join(map(str, VERSION[0:3])) + "".join(VERSION[3:])
 __version__ = ".".join(map(str, VERSION[0:3])) + "".join(VERSION[3:])
 __author__ = "Ask Solem"
 __author__ = "Ask Solem"

+ 1 - 1
docs/includes/introduction.txt

@@ -1,4 +1,4 @@
-:Version: 2.1.0rc2
+:Version: 2.1.0rc3
 :Web: http://celeryproject.org/
 :Web: http://celeryproject.org/
 :Download: http://pypi.python.org/pypi/celery/
 :Download: http://pypi.python.org/pypi/celery/
 :Source: http://github.com/ask/celery/
 :Source: http://github.com/ask/celery/