@sprocketbot/common
Advanced tools
Comparing version 0.2.9 to 0.2.10
@@ -24,2 +24,5 @@ "use strict"; | ||
}, | ||
socketOptions: { | ||
heartbeat: 120, | ||
}, | ||
}, | ||
@@ -36,2 +39,5 @@ }, | ||
}, | ||
socketOptions: { | ||
heartbeat: 120, | ||
}, | ||
}, | ||
@@ -48,2 +54,5 @@ }, | ||
}, | ||
socketOptions: { | ||
heartbeat: 120, | ||
}, | ||
}, | ||
@@ -50,0 +59,0 @@ }, |
@@ -23,3 +23,3 @@ "use strict"; | ||
this.logger.log(`Connecting to RabbitMQ @ ${rmqUrl}`); | ||
const connection = await (0, amqplib_1.connect)(rmqUrl); | ||
const connection = await (0, amqplib_1.connect)(rmqUrl, { heartbeat: 120 }); | ||
this.channel = await connection.createChannel(); | ||
@@ -26,0 +26,0 @@ await this.channel.assertExchange(this.exchangeKey, "topic", { durable: false }); |
{ | ||
"name": "@sprocketbot/common", | ||
"version": "0.2.9", | ||
"version": "0.2.10", | ||
"description": "Stores schemas/types/helpers for interactions that take place in the Sprocket platform.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
303305
4607