File tree Expand file tree Collapse file tree
packages/cloudflare/src/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export class DOQueueHandler extends DurableObject<CloudflareEnv> {
2323 // Ongoing revalidations are deduped by the deduplication id
2424 // Since this is running in waitUntil, we expect the durable object state to persist this during the duration of the revalidation
2525 // TODO: handle incremental cache with only eventual consistency (i.e. KV or R2/D1 with the optional cache layer on top)
26- ongoingRevalidations : Map < string , Promise < void > > = new Map < string , Promise < void > > ( ) ;
26+ ongoingRevalidations : Map < string , Promise < void > > = new Map ( ) ;
2727
2828 sql : SqlStorage ;
2929
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export const DEFAULT_REVALIDATION_TIMEOUT_MS = 10_000;
1717export class MemoryQueue implements Queue {
1818 readonly name = "memory-queue" ;
1919
20- revalidatedPaths : Set < string > = new Set < string > ( ) ;
20+ revalidatedPaths : Set < string > = new Set ( ) ;
2121
2222 constructor (
2323 private opts : {
You can’t perform that action at this time.
0 commit comments