From 2d95932c15a6cce577e9846fd5626c759b034f01 Mon Sep 17 00:00:00 2001 From: virus Date: Thu, 28 Jan 2021 13:45:05 +0100 Subject: [PATCH] typeo --- queueFeeds.js | 2 +- updateFeeds.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/queueFeeds.js b/queueFeeds.js index 7cd8f02..4712dd9 100644 --- a/queueFeeds.js +++ b/queueFeeds.js @@ -14,7 +14,7 @@ async function foo() { let count = 0; - await beanstalkd.connect({beanstalkd,11300 }) + await beanstalkd.connect({host: 'beanstalkd', port: 11300 }) for (feed of feeds) { await beanstalkd.put(feed.feed) diff --git a/updateFeeds.js b/updateFeeds.js index ee0dfca..288ae9a 100644 --- a/updateFeeds.js +++ b/updateFeeds.js @@ -10,7 +10,7 @@ const db = new Database('data/bot-node.db'), const Jackd = require('jackd'); const beanstalkd = new Jackd(); -beanstalkd.connect({beanstalkd,11300 }) +beanstalkd.connect({host: 'beanstalkd',port: 11300}) async function foo() { while (true) {