倒计时没有覆盖复机停机的问题

This commit is contained in:
2026-06-25 10:30:49 +08:00
parent cfb6b52cc2
commit f604791c69
6 changed files with 144 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
const FIVE_MINUTES_MS = 5 * 60 * 1000
const STORAGE_KEY_PREFIX = 'asset-action-rate-limit'
export type AssetRateLimitedAction = 'refresh' | 'start'
export type AssetRateLimitedAction = 'refresh' | 'start' | 'stop'
export class FrontendRateLimitError extends Error {
readonly remainingMs: number