amqp-connection-manager
Advanced tools
Comparing version 4.1.2 to 4.1.3
@@ -62,3 +62,5 @@ "use strict"; | ||
this.heartbeatIntervalInSeconds = | ||
options.heartbeatIntervalInSeconds || HEARTBEAT_IN_SECONDS; | ||
options.heartbeatIntervalInSeconds || options.heartbeatIntervalInSeconds === 0 | ||
? options.heartbeatIntervalInSeconds | ||
: HEARTBEAT_IN_SECONDS; | ||
this.reconnectTimeInSeconds = | ||
@@ -65,0 +67,0 @@ options.reconnectTimeInSeconds || this.heartbeatIntervalInSeconds; |
@@ -57,3 +57,5 @@ import amqp from 'amqplib'; | ||
this.heartbeatIntervalInSeconds = | ||
options.heartbeatIntervalInSeconds || HEARTBEAT_IN_SECONDS; | ||
options.heartbeatIntervalInSeconds || options.heartbeatIntervalInSeconds === 0 | ||
? options.heartbeatIntervalInSeconds | ||
: HEARTBEAT_IN_SECONDS; | ||
this.reconnectTimeInSeconds = | ||
@@ -60,0 +62,0 @@ options.reconnectTimeInSeconds || this.heartbeatIntervalInSeconds; |
{ | ||
"name": "amqp-connection-manager", | ||
"version": "4.1.2", | ||
"version": "4.1.3", | ||
"description": "Auto-reconnect and round robin support for amqplib.", | ||
@@ -5,0 +5,0 @@ "module": "./dist/esm/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
141997
20
2485