From 485d5eb0376a081acb955a05abad4fc1369188a4 Mon Sep 17 00:00:00 2001 From: Bruce Riley Date: Wed, 25 Jan 2023 19:04:55 +0000 Subject: [PATCH] Node/Acct: Fix audit interval Change-Id: I23b4d4024462fd47bd0f189f97d0b782fe655a0c --- node/pkg/accountant/audit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/pkg/accountant/audit.go b/node/pkg/accountant/audit.go index 50aa10493..6478fca64 100644 --- a/node/pkg/accountant/audit.go +++ b/node/pkg/accountant/audit.go @@ -33,7 +33,7 @@ import ( const ( // auditInterval indicates how often the audit runs. - auditInterval = 1 * time.Minute // TODO: Dont commit this!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + auditInterval = 5 * time.Minute // maxSubmitPendingTime indicates how long a transfer can be in the submit pending state before the audit starts complaining about it. maxSubmitPendingTime = 30 * time.Minute