Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

no-kafka

Package Overview
Dependencies
Maintainers
1
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

no-kafka - npm Package Compare versions

Comparing version 3.3.4 to 3.3.5

7

lib/client.js

@@ -276,4 +276,7 @@ 'use strict';

.catch(function (err) {
var delay = _.min([attempt++ * self.options.reconnectionDelay.min, self.options.reconnectionDelay.max]);
self.error('Metadata request failed:', err);
var delay = _.min([attempt * self.options.reconnectionDelay.min, self.options.reconnectionDelay.max]);
if ((attempt - 1) % _.max([(60000 / delay), 1]) === 0) { // once per minute
self.error('Metadata request failed at attempt #' + attempt + '. Will keep trying. Error received was:', err);
}
attempt += 1;
return Promise.delay(delay).then(_try);

@@ -280,0 +283,0 @@ });

@@ -9,3 +9,3 @@ {

},
"version": "3.3.4",
"version": "3.3.5",
"main": "./lib/index.js",

@@ -12,0 +12,0 @@ "types": "./types/index.d.ts",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc