Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
+4
-4
@@ -1,4 +1,4 @@
|
||||
// Producer-side helper for the toolctrl.file-scan BullMQ queue. Web routes
|
||||
// Producer-side helper for the hivegrid.file-scan BullMQ queue. Web routes
|
||||
// call enqueueFileScan(...) after a successful upload to trigger the
|
||||
// asynchronous post-upload ClamAV scan in the worker. Mirrors the
|
||||
// TransactionalEmailQueue.server.ts shape so the queue lifecycle is the
|
||||
@@ -12,7 +12,7 @@ import {
|
||||
resolveRedisConnectionOptionsFromProcessEnv,
|
||||
type RedisConnectionEnv,
|
||||
type TypedQueue,
|
||||
} from "@toolctrl/queue";
|
||||
} from "@hivegrid/queue";
|
||||
|
||||
export type EnqueueFileScanInput = {
|
||||
bucket: string;
|
||||
@@ -54,8 +54,8 @@ export async function enqueueFileScan(input: EnqueueFileScanInput, dependencies:
|
||||
}
|
||||
|
||||
if (!queue && connection) {
|
||||
const queueRuntimeModule = "@toolctrl/queue/runtime";
|
||||
const { createQueue } = (await import(/* @vite-ignore */ queueRuntimeModule)) as typeof import("@toolctrl/queue/runtime");
|
||||
const queueRuntimeModule = "@hivegrid/queue/runtime";
|
||||
const { createQueue } = (await import(/* @vite-ignore */ queueRuntimeModule)) as typeof import("@hivegrid/queue/runtime");
|
||||
queue = createQueue(queueNames.fileScan, { connection });
|
||||
shouldCloseQueue = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user