From 3b222e06ed63050cb99020d9d74ca0f1e52959d2 Mon Sep 17 00:00:00 2001 From: Gibheer Date: Mon, 7 Jan 2019 15:50:55 +0100 Subject: moncheck - make workers configurable The default worker count was set to 25, which might be too much depending on the amount of cores available. Now make the default 25 and let people decide on how many they want to use. --- moncheck.conf.example | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'moncheck.conf.example') diff --git a/moncheck.conf.example b/moncheck.conf.example index 2e8991d..6d8a69a 100644 --- a/moncheck.conf.example +++ b/moncheck.conf.example @@ -1,5 +1,12 @@ { "db": "user=moncheck dbname=monzero", "timeout": "5s", - "wait": "5s" + "wait": "5s", + "path": [ + "/bin", + "/sbin", + "/usr/bin", + "/usr/sbin" + ], + "workers": 25 } -- cgit v1.2.3-70-g09d2