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

hot-shots

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hot-shots - npm Package Compare versions

Comparing version 8.4.0 to 8.5.0

3

CHANGES.md
CHANGELOG
=========
## 8.5.0 (2021-7-16)
@maxday Add a closingFlushInterval option which allows stopping quicker
## 8.4.0 (2021-7-3)

@@ -5,0 +8,0 @@ @roim Use errorHandler when possible on UDS socket replace error

6

lib/statsd.js

@@ -78,2 +78,3 @@ const process = require('process'),

this.isChild = options.isChild;
this.closingFlushInterval = options.closingFlushInterval || 50;

@@ -417,3 +418,3 @@ // If we're mocking the client, create a buffer to record the outgoing calls.

}
}, 50);
}, this.closingFlushInterval);
});

@@ -493,3 +494,4 @@ };

telegraf : parent.telegraf,
protocol : parent.protocol
protocol : parent.protocol,
closingFlushInterval : parent.closingFlushInterval
});

@@ -496,0 +498,0 @@ };

{
"name": "hot-shots",
"description": "Node.js client for StatsD, DogStatsD, and Telegraf",
"version": "8.4.0",
"version": "8.5.0",
"author": "Steve Ivy",

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

@@ -61,2 +61,3 @@ # hot-shots

* `udsGracefulRestartRateLimit`: Used only when the protocol is `uds`. Time (ms) between re-creating the socket. Defaults to `1000`.
* `closingFlushInterval`: Before closing, StatsD will check for inflight messages. Time (ms) between each check. Defaults to `50`.

@@ -63,0 +64,0 @@ ### StatsD methods

@@ -30,2 +30,3 @@ import dgram = require("dgram");

udsGracefulRestartRateLimit?: number;
closingFlushInterval?: number;
}

@@ -32,0 +33,0 @@

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