Fix time window recalc

This commit is contained in:
Pijus Kamandulis
2025-07-02 14:24:32 +03:00
parent 844f7fa08b
commit edb17e825d
2 changed files with 8 additions and 11 deletions
+2 -4
View File
@@ -24,10 +24,8 @@ func (job *RecalculateTimeWindowHighSharesJob) Run() error {
defer ticker.Stop()
for {
select {
case <-ticker.C:
job.recalculateTimeWindowHighShares()
}
<-ticker.C
job.recalculateTimeWindowHighShares()
}
}