This commit is contained in:
virus 2021-01-28 13:45:05 +01:00
parent eea28e6f12
commit 2d95932c15
2 changed files with 2 additions and 2 deletions

View file

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

View file

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