@jupiterone/integration-sdk-runtime
Advanced tools
Comparing version 15.2.1 to 15.2.2
@@ -271,3 +271,2 @@ "use strict"; | ||
}, 'Uploading data...'); | ||
const startTime = Date.now(); | ||
try { | ||
@@ -288,19 +287,2 @@ await apiClient.post(`/persister/synchronization/jobs/${jobId}/${type}`, { | ||
} | ||
const duration = Date.now() - startTime; | ||
if (duration >= 10_000) { | ||
logger.info({ | ||
uploadCorrelationId, | ||
uploadType: type, | ||
attemptNum: ctx.attemptNum, | ||
batchSize: batch.length, | ||
batchSizeInBytes: (0, batchBySize_1.getSizeOfObject)(batch), | ||
uploadDuration: duration, | ||
}, 'Finished uploading big batch'); | ||
} | ||
logger.debug({ | ||
uploadCorrelationId, | ||
uploadType: type, | ||
attemptNum: ctx.attemptNum, | ||
batchSize: batch.length, | ||
}, 'Finished uploading batch'); | ||
}, { | ||
@@ -307,0 +289,0 @@ maxAttempts: 5, |
{ | ||
"name": "@jupiterone/integration-sdk-runtime", | ||
"version": "15.2.1", | ||
"version": "15.2.2", | ||
"description": "The SDK for developing JupiterOne integrations", | ||
@@ -26,3 +26,3 @@ "main": "dist/src/index.js", | ||
"dependencies": { | ||
"@jupiterone/integration-sdk-core": "^15.2.1", | ||
"@jupiterone/integration-sdk-core": "^15.2.2", | ||
"@lifeomic/alpha": "^5.2.0", | ||
@@ -44,3 +44,3 @@ "@lifeomic/attempt": "^3.0.3", | ||
"devDependencies": { | ||
"@jupiterone/integration-sdk-private-test-utils": "^15.2.1", | ||
"@jupiterone/integration-sdk-private-test-utils": "^15.2.2", | ||
"get-port": "^5.1.1", | ||
@@ -52,3 +52,3 @@ "lmdb": "^3.0.8", | ||
}, | ||
"gitHead": "d9f2d0762d842247426a652f5dd5fda32b361951" | ||
"gitHead": "786fce45173ae45d3e2b736e91a2c92c72a41014" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
582647
34987
5001