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

celery.concurrency.gevent

Gevent execution pool.

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

GEvent Pool.

class Timer(*args, **kwargs)
clear()
property queue

Snapshot of underlying datastructure.

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

set to true if pool uses greenlets.

property num_processes
on_apply(target, args=None, kwargs=None, callback=None, accept_callback=None, timeout=None, timeout_callback=None, apply_target=<function apply_target>, **_)[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