Skip to content

Commit c4af9aa

Browse files
committed
docs(run-engine): correct the ckExpireTtlLua sharing comment
Post-merge the flag-off TTL sweep is main's inline gated version, so ckExpireTtlLua is used only by the vtime variant now. Note the deferred gate-release integration.
1 parent c4b657d commit c4af9aa

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • internal-packages/run-engine/src/run-queue

‎internal-packages/run-engine/src/run-queue/index.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,9 @@ ${QUEUE_METRICS_CK_ENQUEUE_GAUGE_LUA}
950950
return __qmret(0)
951951
`;
952952

953-
// Shared by the ck TTL sweep and its virtual-time variant.
953+
// Used only by the ck TTL sweep's virtual-time variant. INTERIM: the flag-off
954+
// expireTtlRunsTracked carries main's inline gated version; queue-gate release is not yet
955+
// threaded through this vtime template (follow-up, alongside the vtime dequeue).
954956
const ckExpireTtlLua = (v: CkParts<"args" | "drain">) => `
955957
local ttlQueueKey = KEYS[1]
956958
local keyPrefix = ARGV[1]

0 commit comments

Comments
 (0)