From db673ef28dd0c6234a57b8d88b65c86dcaf538fe Mon Sep 17 00:00:00 2001 From: Phi Date: Wed, 31 May 2023 09:43:26 -0400 Subject: [PATCH] Alert if higher then 24 Alert if higher then 24 --- node/modules/alerts.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/modules/alerts.go b/node/modules/alerts.go index fc375b0df..724761e3c 100644 --- a/node/modules/alerts.go +++ b/node/modules/alerts.go @@ -63,12 +63,12 @@ func CheckFvmConcurrency() func(al *alerting.Alerting) { } // Raise alert if LOTUS_FVM_CONCURRENCY is set to a high value - if fvmConcurrencyVal >= 24 { + if fvmConcurrencyVal > 24 { alert := al.AddAlertType("process", "fvm-concurrency") al.Raise(alert, map[string]interface{}{ "message": "LOTUS_FVM_CONCURRENCY is set to a high value that can cause chain sync panics on network migrations/upgrades", "set_value": fvmConcurrencyVal, - "recommended": "23 or less during network upgrades", + "recommended": "24 or less during network upgrades", }) } }