X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=src%2Fworker.js;h=ebf891405124e730881b96c1b69d4bf4593be689;hb=ad5e19413b7f003abc61d12a5ff9dbcf20065c65;hp=4f566ad9f97209bcc538692cf87b6e412ccbe877;hpb=fe3a4d96d559edcc30c2047109cd7b027e6258eb;p=websub-hub diff --git a/src/worker.js b/src/worker.js index 4f566ad..ebf8914 100644 --- a/src/worker.js +++ b/src/worker.js @@ -189,7 +189,6 @@ class Worker { // Interrupt any pending sleep, if we were called out of timeout-cycle. clearTimeout(this.nextTimeout); - // Share one db connection for all tasks. try { await this.db.context(async (dbCtx) => {