mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-07 23:31:07 +00:00
refactor(feishu): split dedup runtime seam
This commit is contained in:
5
extensions/feishu/src/dedup-runtime-api.ts
Normal file
5
extensions/feishu/src/dedup-runtime-api.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export {
|
||||
createDedupeCache,
|
||||
createPersistentDedupe,
|
||||
readJsonFileWithFallback,
|
||||
} from "openclaw/plugin-sdk/feishu";
|
||||
@@ -4,7 +4,7 @@ import {
|
||||
createDedupeCache,
|
||||
createPersistentDedupe,
|
||||
readJsonFileWithFallback,
|
||||
} from "../runtime-api.js";
|
||||
} from "./dedup-runtime-api.js";
|
||||
|
||||
// Persistent TTL: 24 hours — survives restarts & WebSocket reconnects.
|
||||
const DEDUP_TTL_MS = 24 * 60 * 60 * 1000;
|
||||
|
||||
Reference in New Issue
Block a user