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) {