diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-04 12:59:59 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-04 12:59:59 +0200 |
| commit | 6dbf683b1d72251cd140f1a25626b2c2e92f763b (patch) | |
| tree | 725b9168242db575ee8c072cdc3809749927cfa3 | |
| parent | 21bdc124c1cfbc4ca9e6791b52fc9064f80fc533 (diff) | |
| download | apigrabber-6dbf683b1d72251cd140f1a25626b2c2e92f763b.tar.gz apigrabber-6dbf683b1d72251cd140f1a25626b2c2e92f763b.zip | |
bugfix: start working after connecting successfully
| -rw-r--r-- | worker.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -20,6 +20,7 @@ if (MADGLORY_TOKEN == undefined) throw "Need an API token"; ch = await rabbit.createChannel(); await ch.assertQueue("grab", {durable: true}); await ch.assertQueue("process", {durable: true}); + break; } catch (err) { console.error(err); await sleep(5000); |
