This document describes the current stable version of Celery (5.2). For development docs, go here.

celery.concurrency.eventlet

Eventlet execution pool.

class celery.concurrency.eventlet.TaskPool(*args, **kwargs)[source]

Eventlet Task Pool.

class Timer(*args, **kwargs)

Eventlet Timer.

cancel(tref)
clear()
property queue

Snapshot of underlying datastructure.

grow(n=1)[source]
is_green = True

set to true if pool uses greenlets.

on_apply(target, args=None, kwargs=None, callback=None, accept_callback=None, **_)[source]
on_start()[source]
on_stop()[source]
shrink(n=1)[source]
signal_safe = False

set to true if the pool can be shutdown from within a signal handler.

task_join_will_block = False
terminate_job(pid, signal=None)[source]