1 parent ba6f412 commit 2afd6ecCopy full SHA for 2afd6ec
1 file changed
apps/sim/lib/knowledge/search/tin-keyword.ts
@@ -11,10 +11,9 @@ const logger = createLogger('TinKeywordSearch')
11
12
/**
13
* How long a readiness answer holds. The index only becomes valid once the projection is fully
14
- * backfilled, and never invalid again; the flag is checked on every search regardless, so a
15
- * long hold costs nothing but the one read it saves each search.
+ * backfilled, and flipping the flag off takes effect within this window.
16
*/
17
-const READINESS_TTL_MS = 10 * 60 * 1000
+const READINESS_TTL_MS = 60 * 1000
18
const SEARCH_INDEX_TTL_MS = 10 * 60 * 1000
19
20
0 commit comments