@instana/core
Advanced tools
Comparing version 1.92.3 to 1.92.4
{ | ||
"name": "@instana/core", | ||
"version": "1.92.3", | ||
"version": "1.92.4", | ||
"description": "Core library for Instana's Node.js packages", | ||
@@ -136,3 +136,3 @@ "main": "src/index.js", | ||
}, | ||
"gitHead": "9cd92f557e22e542264547544ffb886e4a8b2319" | ||
"gitHead": "b4d4d9c222e8dcf85d22444366a9d421feecb785" | ||
} |
@@ -23,3 +23,4 @@ 'use strict'; | ||
} | ||
var initialDelayBeforeSendingSpans = Math.max(minDelayBeforeSendingSpans, 1000); | ||
var initialDelayBeforeSendingSpans; | ||
var transmissionDelay; | ||
var maxBufferedSpans; | ||
@@ -36,2 +37,4 @@ var forceTransmissionStartingAt; | ||
forceTransmissionStartingAt = config.tracing.forceTransmissionStartingAt; | ||
transmissionDelay = config.tracing.transmissionDelay; | ||
initialDelayBeforeSendingSpans = Math.max(transmissionDelay, minDelayBeforeSendingSpans); | ||
}; | ||
@@ -89,3 +92,3 @@ | ||
if (spans.length === 0) { | ||
transmissionTimeoutHandle = setTimeout(transmitSpans, 1000); | ||
transmissionTimeoutHandle = setTimeout(transmitSpans, transmissionDelay); | ||
transmissionTimeoutHandle.unref(); | ||
@@ -105,3 +108,3 @@ return; | ||
transmissionTimeoutHandle = setTimeout(transmitSpans, 1000); | ||
transmissionTimeoutHandle = setTimeout(transmitSpans, transmissionDelay); | ||
transmissionTimeoutHandle.unref(); | ||
@@ -108,0 +111,0 @@ }); |
@@ -23,2 +23,3 @@ /* eslint-disable dot-notation */ | ||
maxBufferedSpans: 1000, | ||
transmissionDelay: 1000, | ||
http: { | ||
@@ -146,2 +147,3 @@ extraHttpHeadersToCapture: [] | ||
config.tracing.maxBufferedSpans = config.tracing.maxBufferedSpans || defaults.tracing.maxBufferedSpans; | ||
config.tracing.transmissionDelay = config.tracing.transmissionDelay || defaults.tracing.transmissionDelay; | ||
@@ -148,0 +150,0 @@ var originalValue = config.tracing.forceTransmissionStartingAt; |
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
323258
8764