#CELERY_RESULT_BACKEND = "db+sqlite:///celery_results.sqlite"
CELERYD_LOG_LEVEL = "DEBUG"
CELERYD_PREFETCH_MULTIPLIER = 1
CELERY_ACKS_LATE = False
CELERY_ANNOTATIONS = {
"sql_lab.get_sql_results": {"rate_limit": "100/s"},
"email_reports.send": {
"rate_limit": "1/s",
"time_limit": 120,
"soft_time_limit": 150,
"ignore_result": True,
},
}
CELERYBEAT_SCHEDULE = {
"email_reports.schedule_hourly": {
"task": "email_reports.schedule_hourly",
"schedule": crontab(minute=55, hour="*"),
}
}
qlalchemy.exc.ProgrammingError: (psycopg2.ProgrammingError) column dbs.perm does not exis
sqlalchemy.exc.InternalError: (psycopg2.InternalError) cannot drop table report_schedule because other objects depend on it
DETAIL: constraint report_execution_log_report_schedule_id_fkey on table report_execution_log depends on table report_schedule
constraint report_recipient_report_schedule_id_fkey on table report_recipient depends on table report_schedule
constraint report_schedule_user_report_schedule_id_fkey on table report_schedule_user depends on table report_schedule
HINT: Use DROP ... CASCADE to drop the dependent objects too.