你正在阅读 Celery 3.1 的文档。开发版本文档见: 此处.

celery.backends.mongodb

celery.backends.mongodb

MongoDB result store backend.

class celery.backends.mongodb.MongoBackend(*args, **kwargs)[源代码]
cleanup()[源代码]

Delete expired metadata.

collection None[源代码]

Get the metadata task collection.

database None[源代码]

Get database from MongoDB connection and perform authentication if necessary.

database_name = 'celery'
host = 'localhost'
max_pool_size = 10
options = None
password = None
port = 27017
process_cleanup()[源代码]
supports_autoexpire = False
taskmeta_collection = 'celery_taskmeta'
user = None

上一个主题

celery.backends.amqp

下一个主题

celery.backends.redis

本页