progress 0.0.4

This commit is contained in:
Oleg Sheynin
2026-01-23 20:15:24 +00:00
parent e6ae62ebb6
commit b9d479ae8c
5 changed files with 22 additions and 15 deletions
+2 -1
View File
@@ -196,8 +196,9 @@ class MdSummaryCollector(NamedObject):
Log.info(f"{self.fname()} Timer for {self.exch_inst_.details_short()} is set to run in {start_in} sec")
def next_load_time(self) -> NanosT:
ALLOW_LAG_SEC = 1
curr_sec = int(current_seconds())
return (curr_sec - curr_sec % self.interval_sec_) + self.interval_sec_ + 5
return (curr_sec - curr_sec % self.interval_sec_) + self.interval_sec_ + ALLOW_LAG_SEC
async def _load_new(self) -> None: