"""Use once per Celery cluster. This is Flower's local file, NOT PostgreSQL.""" import os persistent=True db=os.getenv('FLOWER_DB','/var/lib/dilib-flower/flower') state_save_interval=10000 address='127.0.0.1' port=5555 read_only=True max_tasks=100000 credential=os.environ.get('FLOWER_BASIC_AUTH','') if ':' not in credential or 'CHANGE_ME' in credential or not credential.split(':',1)[1]: raise RuntimeError('Set FLOWER_BASIC_AUTH to a real username:password before starting Flower') basic_auth=[credential]