commit 9fdbbd29186748869285b6f2a4c8051e49d0e627
parent b281fb96fa2b819bec88ade6496e4054df860b82
Author: Joel-Haeberli <haebu@rubigen.ch>
Date: Sat, 18 May 2024 14:53:25 +0200
chore: deactivate log filling info logs
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/c2ec/db-postgres.go b/c2ec/db-postgres.go
@@ -427,7 +427,8 @@ func (db *C2ECPostgres) GetAttestableWithdrawals() ([]*Withdrawal, error) {
return nil, err
}
- LogInfo("postgres", "query="+PS_GET_UNCONFIRMED_WITHDRAWALS)
+ // potentially fills the logs
+ // LogInfo("postgres", "query="+PS_GET_UNCONFIRMED_WITHDRAWALS)
return removeNulls(withdrawals), nil
}
}
diff --git a/c2ec/proc-retrier.go b/c2ec/proc-retrier.go
@@ -23,7 +23,7 @@ func RunRetrier(ctx context.Context, errs chan error) {
go func() {
for {
time.Sleep(time.Duration(CONFIG.Server.RetryDelayMs) * time.Millisecond)
- LogInfo("proc-retrier", "attesting selected withdrawals...")
+ //LogInfo("proc-retrier", "attesting selected withdrawals...")
withdrawals, err := DB.GetAttestableWithdrawals()
if err != nil {
LogError("proc-retrier", err)