frontend phase 15
This commit is contained in:
@@ -25,6 +25,13 @@ export const NURSE_REVIEWS_STALE_TIME = 2 * 60 * 1000;
|
||||
export const REVIEW_ELIGIBILITY_STALE_TIME = 30 * 1000;
|
||||
export const REVIEWS_GC_TIME = 10 * 60 * 1000;
|
||||
|
||||
/**
|
||||
* The admin moderation worklist is an actively-worked queue — a short `staleTime` keeps it fresh as items are
|
||||
* moderated by this (or another) admin, while still serving from cache during quick filter/page switches. A
|
||||
* moderation mutation invalidates it immediately, so this only governs background freshness.
|
||||
*/
|
||||
export const MODERATION_QUEUE_STALE_TIME = 20 * 1000;
|
||||
|
||||
/**
|
||||
* The low-rating support-alert threshold (server config, default ≤ 2). The mock echoes it on
|
||||
* `SubmitReviewResult.lowRatingAlertRaised`; the **UI never surfaces it** — it exists only so the mock's
|
||||
|
||||
Reference in New Issue
Block a user