Skip to content

Commit 2137b8a

Browse files
committed
refactor: move import statement to top of file
1 parent 6a15703 commit 2137b8a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

apps/web-evals/src/lib/server/queue-processor.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
releaseQueueLock,
1212
getActiveRun,
1313
getQueuedRuns,
14+
dequeueRun,
1415
} from "./queue"
1516

1617
const POLL_INTERVAL = 5000 // 5 seconds
@@ -215,6 +216,3 @@ export async function cancelQueuedRun(runId: number): Promise<boolean> {
215216

216217
return removed
217218
}
218-
219-
// Import dequeueRun from queue module
220-
import { dequeueRun } from "./queue"

0 commit comments

Comments
 (0)