magpie.task.flower

Module Contents

Functions

start_flower

Start a Flower process to monitor Celery workers as a subprocess of this one.

stop_flower

Stop a running Flower process.

Data

flower_pid

PID of the Flower process

API

magpie.task.flower.flower_pid

None

PID of the Flower process

magpie.task.flower.start_flower()[source]

Start a Flower process to monitor Celery workers as a subprocess of this one.

magpie.task.flower.stop_flower(now=False)[source]

Stop a running Flower process.

Parameters:

now – whether to perform a cold shutdown (kill the process instantly) or a warm shutdown (wait until all the process exits)