diff --git a/README.md b/README.md index 3cffaf0b64..31c0cf99fa 100644 --- a/README.md +++ b/README.md @@ -365,8 +365,7 @@ you to have it being synced automatically everyday. | GLOBAL_CACHE_INTERVAL | 10\*60 | (Enterprise Edition only) Interval in seconds in between bucket sync of the cache. This interval \* 2 is the time at which you're guaranteed all the worker's caches are synced together. | Worker | | WORKER_TAGS | 'deno,go,python3,bash,flow,hub,dependency' | The worker groups assigned to that workers | Worker | | DEDICATED_WORKER | None | Unique script to run on that worker. Has to be in the form of `:` | Worker | -| CUSTOM_TAGS | None | The custom tags assignable to scripts. | Server | -| JOB_RETENTION_SECS | 60\*60\*24\*30 //30 days | **Overriden by the instance settings UI** The time in seconds after which jobs get deleted. Cannot be set to more than 30 days if not EE | +| CUSTOM_TAGS | None | The custom tags assignable to scripts. | Server | | | WAIT_RESULT_FAST_POLL_INTERVAL_MS | 50 | The time in between polling for the run_wait_result endpoints in fast poll mode | Server | | WAIT_RESULT_SLOW_POLL_INTERVAL_MS | 200 | The time in between polling for the run_wait_result endpoints in fast poll mode | Server | | WAIT_RESULT_FAST_POLL_DURATION_SECS | 2 | The duration of fast poll mode before switching to slow poll | Server | diff --git a/backend/src/monitor.rs b/backend/src/monitor.rs index 16e6d003eb..ed4d359880 100644 --- a/backend/src/monitor.rs +++ b/backend/src/monitor.rs @@ -340,7 +340,7 @@ pub async fn reload_retention_period_setting(db: &DB) { db, RETENTION_PERIOD_SECS_SETTING, "JOB_RETENTION_SECS", - 60 * 60 * 24 * 60, + 60 * 60 * 24 * 30, JOB_RETENTION_SECS.clone(), |x| x, ) diff --git a/backend/windmill-common/src/global_settings.rs b/backend/windmill-common/src/global_settings.rs index 4329abbcd3..03354e7fda 100644 --- a/backend/windmill-common/src/global_settings.rs +++ b/backend/windmill-common/src/global_settings.rs @@ -58,7 +58,6 @@ pub const ENV_SETTINGS: [&str; 55] = [ "INSTANCE_EVENTS_WEBHOOK", "CLOUD_HOSTED", "GLOBAL_CACHE_INTERVAL", - "JOB_RETENTION_SECS", "WAIT_RESULT_FAST_POLL_DURATION_SECS", "WAIT_RESULT_SLOW_POLL_INTERVAL_MS", "WAIT_RESULT_FAST_POLL_INTERVAL_MS",