mirror of
https://github.com/valitydev/redash.git
synced 2024-11-06 17:15:17 +00:00
extend the result_ttl of refresh_queries to 600 seconds to allow it to continue running periodically even after longer executions (#4283)
This commit is contained in:
parent
43b35b6fb4
commit
8b9fa53efe
@ -32,7 +32,7 @@ def schedule_periodic_jobs():
|
||||
job.delete()
|
||||
|
||||
jobs = [
|
||||
{"func": refresh_queries, "interval": 30},
|
||||
{"func": refresh_queries, "interval": 30, "result_ttl": 600},
|
||||
{"func": empty_schedules, "interval": timedelta(minutes=60)},
|
||||
{"func": refresh_schemas, "interval": timedelta(minutes=settings.SCHEMAS_REFRESH_SCHEDULE)},
|
||||
{"func": sync_user_details, "timeout": 60, "ttl": 45, "interval": timedelta(minutes=1)},
|
||||
|
Loading…
Reference in New Issue
Block a user