celery.backends.mongodb

    class celery.backends.mongodb.MongoBackend(\args, **kwargs*)

    • cleanup()[源代码]

      Delete expired metadata.

    • collection None

      Get the metadata task collection.

    • database_name = ‘celery’

    • host = ‘localhost’

    • max_pool_size = 10

    • options = None

    • port = 27017

    • process_cleanup()[源代码]

    • supports_autoexpire = False

    • taskmeta_collection = ‘celery_taskmeta’