Refresh rate is honoured exactly everywhere: no list floor, sampler up to 10 s, server caches reduced to coalescing only

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Mitchell-Johnson
2026-09-18 13:32:36 -07:00
co-authored by Claude Fable 5.1
parent bbf0f2580f
commit 4b8a2b15ed
7 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -4,8 +4,8 @@ import { useEffect, useState } from 'react'
export const REFRESH_OPTIONS = [250, 500, 1000, 2000, 5000] as const
export const DEFAULT_REFRESH = 2000
// Lists that shell out on the host (services, cron, updates, machines) never poll faster than this.
export const LIST_FLOOR = 2000
// No floors: the rate means exactly what it says on every page, at the host's expense.
export const LIST_FLOOR = 0
const KEY = 'hamlab.refresh'
export function getRefreshMs(): number {