Skip to content

Commit

Permalink
Adds missing reference pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ask committed Nov 28, 2011
1 parent 9431323 commit 15a932f
Show file tree
Hide file tree
Showing 11 changed files with 80 additions and 22 deletions.
14 changes: 7 additions & 7 deletions Changelog
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
.. _v250-important:

Important Notes
===============
---------------

* The broker connection pool is now enabled by default with a limit
of 10 connections.
* The broker connection pool is now enabled by default.

If you have many threads/green-threads using connections you may want
to tweak the limit to avoid contention.
The default limit is 10 connections,
if you have many threads/green-threads using connections you may want
to tweak this limit to avoid contention.

See :settings:`BROKER_POOL_LIMIT` for more information.
See the :setting:`BROKER_POOL_LIMIT` for more information.

* AMQP Result Backend: Exchange no longer *auto delete*.

Expand Down Expand Up @@ -53,7 +53,7 @@ Important Notes
.. _v250-news:

News
====
----

* Timezone support.

Expand Down
2 changes: 1 addition & 1 deletion celery/app/annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def expand_annotation(annotation):
return MapAnnotation(annotation)
elif isinstance(annotation, basestring):
return mpromise(instantiate, annotation)
return route
return annotation

if annotations is None:
return ()
Expand Down
14 changes: 0 additions & 14 deletions celery/app/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
from contextlib import contextmanager
from copy import deepcopy
from functools import wraps
from threading import Lock

from kombu.clocks import LamportClock

Expand All @@ -38,19 +37,6 @@
settings -> transport:%(transport)s results:%(results)s
"""

def pyimplementation():
if hasattr(_platform, "python_implementation"):
return _platform.python_implementation()
elif sys.platform.startswith("java"):
return "Jython %s" % (sys.platform, )
elif hasattr(sys, "pypy_version_info"):
v = ".".join(map(str, sys.pypy_version_info[:3]))
if sys.pypy_version_info[3:]:
v += "-" + "".join(map(str, sys.pypy_version_info[3:]))
return "PyPy %s" % (v, )
else:
return "CPython"


class Settings(datastructures.ConfigurationView):

Expand Down
11 changes: 11 additions & 0 deletions docs/internals/reference/celery.app.annotations.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
==========================================
celery.app.annotations
==========================================

.. contents::
:local:
.. currentmodule:: celery.app.annotations

.. automodule:: celery.app.annotations
:members:
:undoc-members:
11 changes: 11 additions & 0 deletions docs/internals/reference/celery.security.certificate.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
==========================================
celery.security.certificate
==========================================

.. contents::
:local:
.. currentmodule:: celery.security.certificate

.. automodule:: celery.security.certificate
:members:
:undoc-members:
11 changes: 11 additions & 0 deletions docs/internals/reference/celery.security.key.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
==========================================
celery.security.key
==========================================

.. contents::
:local:
.. currentmodule:: celery.security.key

.. automodule:: celery.security.key
:members:
:undoc-members:
11 changes: 11 additions & 0 deletions docs/internals/reference/celery.security.serialization.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
==========================================
celery.security.serialization
==========================================

.. contents::
:local:
.. currentmodule:: celery.security.serialization

.. automodule:: celery.security.serialization
:members:
:undoc-members:
11 changes: 11 additions & 0 deletions docs/internals/reference/celery.utils.threads.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
==========================================
celery.utils.threads
==========================================

.. contents::
:local:
.. currentmodule:: celery.utils.threads

.. automodule:: celery.utils.threads
:members:
:undoc-members:
5 changes: 5 additions & 0 deletions docs/internals/reference/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
celery.backends.cassandra
celery.backends.tyrant
celery.execute.trace
celery.app.annotations
celery.security.certificate
celery.security.key
celery.security.serialization
celery.datastructures
celery.routes
celery.log
Expand All @@ -51,6 +55,7 @@
celery.utils.compat
celery.utils.patch
celery.utils.serialization
celery.utils.threads
celery.utils.timer2
celery.utils.dispatch
celery.utils.dispatch.signal
Expand Down
11 changes: 11 additions & 0 deletions docs/reference/celery.security.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
========================
celery.security
========================

.. contents::
:local:
.. currentmodule:: celery.security

.. automodule:: celery.security
:members:
:undoc-members:
1 change: 1 addition & 0 deletions docs/reference/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
celery.task.http
celery.schedules
celery.signals
celery.security
celery.utils.mail
celery.exceptions
celery.loaders
Expand Down

0 comments on commit 15a932f

Please sign in to comment.