mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-29 23:13:26 -07:00
Update BaseClasses.py
Co-authored-by: Doug Hoskisson <beauxq@users.noreply.github.com>
This commit is contained in:
@@ -124,9 +124,10 @@ class MultiWorld():
|
||||
time.sleep(1)
|
||||
if self.current_function:
|
||||
now = time.perf_counter()
|
||||
if now - self.entered > 60:
|
||||
elapsed = now - self.entered
|
||||
if elapsed > 60:
|
||||
logging.info(f"Generation stalling in {self.current_function}, "
|
||||
f"running since {time.perf_counter()-self.entered:.0f} seconds ago.")
|
||||
f"running since {elapsed:.0f} seconds ago.")
|
||||
self.current_function = ""
|
||||
|
||||
observer = Observer()
|
||||
|
||||
Reference in New Issue
Block a user