Spec-Zone.ru › Celery

celery.events.snapshot

Periodically store events in a database.

Consuming the events as a stream isn’t always suitable so this module implements a system to take snapshots of the state of a cluster at regular intervals. There’s a full implementation of this writing the snapshots to a database in djcelery.snapshots in the django-celery distribution.

classcelery.events.snapshot.Polaroid(state, freq=1.0, maxrate=None, cleanup_freq=3600.0, timer=None, app=None)

Record event snapshots.

cancel()
capture()
cleanup()
cleanup_signal=<Signal: cleanup_signal providing_args=set()>
clear_after=False
install()
on_cleanup()
on_shutter(state)
shutter()
shutter_signal=<Signal: shutter_signal providing_args={'state'}>
timer=None
celery.events.snapshot.evcam(camera, freq=1.0, maxrate=None, loglevel=0, logfile=None, pidfile=None, timer=None, app=None, **kwargs)

Start snapshot recorder.

Copyright © 2017-2026 Asif Saif Uddin, core team & contributors. All rights reserved.
Celery is licensed under The BSD License (3 Clause, also known as the new BSD license). The license is an OSI approved Open Source license and is GPL-compatible.
https://docs.celeryq.dev/en/stable/internals/reference/celery.events.snapshot.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API