projects
/
websub-hub
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
set cache headers on topic info (badges) response
[websub-hub]
/
src
/
worker.js
diff --git
a/src/worker.js
b/src/worker.js
index 4f566ad9f97209bcc538692cf87b6e412ccbe877..ebf891405124e730881b96c1b69d4bf4593be689 100644
(file)
--- 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);
// 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) => {
try {
await this.db.context(async (dbCtx) => {