()
| 100 | * can tune both poll rates fleet-wide with a single config push. |
| 101 | */ |
| 102 | export function getPollIntervalConfig(): PollIntervalConfig { |
| 103 | const raw = getFeatureValue_CACHED_WITH_REFRESH<unknown>( |
| 104 | 'tengu_bridge_poll_interval_config', |
| 105 | DEFAULT_POLL_CONFIG, |
| 106 | 5 * 60 * 1000, |
| 107 | ) |
| 108 | const parsed = pollIntervalConfigSchema().safeParse(raw) |
| 109 | return parsed.success ? parsed.data : DEFAULT_POLL_CONFIG |
| 110 | } |
no test coverage detected