We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f37c6b9 commit 7e0c10aCopy full SHA for 7e0c10a
functions/amqpCommand.js
@@ -15,6 +15,10 @@ function connect() {
15
16
connection.then(function(conn) {
17
console.log("[AMQP] Connected!");
18
+
19
+ return when(conn.createChannel().then(function(ch) {
20
+ var ok = ch.assertQueue('hyperflow.jobs', {durable: true}).then(function(qok) { return qok.queue; });
21
+ }));
22
}, function(err) {
23
console.error('[AMQP] Connect failed: %s', err);
24
})
0 commit comments