<filename>celeryconfig.py
# broker_url = "pyamqp://"
# result_backend = "rpc://"

broker_url = "redis://localhost:6379/0"
result_backend = "redis://localhost:6379/1"

# result_backend = "db+sqlite:///results.sqlite"

result_persistent = False

task_serializer = "json"
result_serializer = "json"
accept_content = ["json"]
timezone = "Europe/Berlin"
enable_utc = True

# For Flower
# address = "192.168.0.37"

# task_annotations = {"tasks.add": {"rate_limit": "10/m"}}
# task_annotations = {"tasks.add": {"rate_limit": "10/m"}}

<filename>celeryconfig.py
# broker_url = "pyamqp://"
# result_backend = "rpc://"

broker_url = "redis://localhost:6379/0"
result_backend = "redis://localhost:6379/1"

# result_backend = "db+sqlite:///results.sqlite"

result_persistent = False

task_serializer = "json"
result_serializer = "json"
accept_content = ["json"]
timezone = "Europe/Berlin"
enable_utc = True

# For Flower
# address = "192.168.0.37"

# task_annotations = {"tasks.add": {"rate_limit": "10/m"}}
# task_annotations = {"tasks.add": {"rate_limit": "10/m"}}

# broker_url = "pyamqp://" # result_backend = "rpc://" # result_backend = "db+sqlite:///results.sqlite" # For Flower # address = "192.168.0.37" # task_annotations = {"tasks.add": {"rate_limit": "10/m"}} # task_annotations = {"tasks.add": {"rate_limit": "10/m"}}