File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -158,6 +158,16 @@ const EnvironmentSchema = z
158158 WORKER_SCHEMA : z . string ( ) . default ( "graphile_worker" ) ,
159159 WORKER_CONCURRENCY : z . coerce . number ( ) . int ( ) . default ( 10 ) ,
160160 WORKER_POLL_INTERVAL : z . coerce . number ( ) . int ( ) . default ( 1000 ) ,
161+ // JSON map of container-region masterQueue -> compute-backing masterQueue.
162+ // Absence of an entry means that region is never migrated (e.g. EU until it
163+ // has a compute backing). Example: {"us-east-1":"us-east-1-next"}
164+ COMPUTE_BACKING_MAP : z . string ( ) . default ( "{}" ) ,
165+ // How often each replica reloads the global flags snapshot from the DB.
166+ // Sets kill/ramp propagation latency.
167+ GLOBAL_FLAGS_RELOAD_INTERVAL_MS : z . coerce . number ( ) . int ( ) . default ( 5000 ) ,
168+ // Max time the first trigger blocks waiting for the initial flags load
169+ // before falling back to defaults (off = container, the safe direction).
170+ GLOBAL_FLAGS_READY_TIMEOUT_MS : z . coerce . number ( ) . int ( ) . default ( 5000 ) ,
161171 WORKER_ENABLED : z . string ( ) . default ( "true" ) ,
162172 GRACEFUL_SHUTDOWN_TIMEOUT : z . coerce . number ( ) . int ( ) . default ( 60000 ) ,
163173 DISABLE_SSE : z . string ( ) . optional ( ) ,
You can’t perform that action at this time.
0 commit comments