fix: ship authz runtime and preserve queue clocks
This commit is contained in:
@@ -16,7 +16,7 @@ export interface QueueStore {
|
||||
list(name?: string): Promise<Job[]>;
|
||||
findByIdempotencyKey?(name: string, key: string): Promise<Job | null>;
|
||||
size?(): Promise<number>;
|
||||
claim?(id: string, worker: string, leaseUntil: number): Promise<boolean>;
|
||||
claim?(id: string, worker: string, leaseUntil: number, now?: number): Promise<boolean>;
|
||||
}
|
||||
|
||||
export function memoryQueueStore(): QueueStore {
|
||||
|
||||
Reference in New Issue
Block a user