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; let count = 0;
await beanstalkd.connect({beanstalkd,11300 }) await beanstalkd.connect({host: 'beanstalkd', port: 11300 })
for (feed of feeds) { for (feed of feeds) {
await beanstalkd.put(feed.feed) await beanstalkd.put(feed.feed)

View File

@ -10,7 +10,7 @@ const db = new Database('data/bot-node.db'),
const Jackd = require('jackd'); const Jackd = require('jackd');
const beanstalkd = new Jackd(); const beanstalkd = new Jackd();
beanstalkd.connect({beanstalkd,11300 }) beanstalkd.connect({host: 'beanstalkd',port: 11300})
async function foo() { async function foo() {
while (true) { while (true) {