Skip to content

Commit a1d60f4

Browse files
authored
Merge pull request #1057 from snyk/feat/configurable_keepalive
feat: log use keep alive
2 parents e32c336 + 815a425 commit a1d60f4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/index.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,13 @@ function cleanUpTempStorage() {
5353

5454
async function monitor(): Promise<void> {
5555
try {
56-
logger.info({ cluster: currentClusterName }, 'starting to monitor');
56+
logger.info(
57+
{
58+
cluster: currentClusterName,
59+
useKeepalive: config.USE_KEEPALIVE,
60+
},
61+
'starting to monitor',
62+
);
5763
await beginWatchingWorkloads();
5864
} catch (error) {
5965
logger.error({ error }, 'an error occurred while monitoring the cluster');

0 commit comments

Comments
 (0)