X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=src%2Fworker.js;h=ebf891405124e730881b96c1b69d4bf4593be689;hb=846fd81473a87284f52833154ddca0bf95b3046f;hp=4f566ad9f97209bcc538692cf87b6e412ccbe877;hpb=ed6dc5a66ce0eaf2dd61f9fb7a5ec048944c68ee;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) => {