Skip to content

Commit 635c183

Browse files
committed
fix: reduce workers count to 5
On some customer deployments there is a really high spike of CPU usage that causes healthcheck failures. Reducing the worker count should reduce the CPU usage and make this less of a problem. This change is not expected to affect scanning speed and make it slower as most of the time is spent on pulling images.
1 parent 53be523 commit 635c183

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.default.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"MAX_SIZE": 10000,
1212
"MAX_AGE_MS": 60000
1313
},
14-
"WORKERS_COUNT": 10,
14+
"WORKERS_COUNT": 5,
1515
"REQUEST_QUEUE_LENGTH": 2,
1616
"QUEUE_LENGTH_LOG_FREQUENCY_MINUTES": 15,
1717
"INTEGRATION_ID": "",

0 commit comments

Comments
 (0)