Skip to content

Commit

Permalink
Merge pull request #19 from penwern/fix-multipart-checksums
Browse files Browse the repository at this point in the history
:(
  • Loading branch information
Sunday-Crunk authored Nov 19, 2024
2 parents ac4bcd2 + 5306c3f commit 981b30e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/js/core/WorkerManager.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import HashWorker from "../workers/hashWorker.worker.js";

class CurateWorkerManager {
constructor() {
this.taskQueue = [];
Expand All @@ -11,7 +9,9 @@ class CurateWorkerManager {
if (this.worker) {
this.worker.terminate();
}
const workerUrl = `/workers/hashWorker.worker.js?v=${Date.now()}`; // Add cache busting

// Load the worker from jsDelivr
const workerUrl = "/workers/hashWorker.worker.js";
this.worker = new Worker(workerUrl);
console.log("Worker initialized: ", this.worker);
this.setupWorkerHandlers();
Expand Down

0 comments on commit 981b30e

Please sign in to comment.