Added customizable poolig interval

This commit is contained in:
2026-03-07 22:02:37 +01:00
parent c9d07e7cef
commit e06eea68cd

View File

@@ -18,6 +18,7 @@ try:
except:
raise Exception("No IDRAC hosts variable")
GET_INTERVAL: Final[int] = int(os.getenv("GET_INTERVAL", 60))
# Flightchecks-------------------------------------------
@@ -71,7 +72,7 @@ async def main():
# for CiscoIP in CISCO_HOST_LIST:
# tg.create_task(ciscoPoolRemote(CiscoIP, mainQueue))
await asyncio.sleep(20)
await asyncio.sleep(GET_INTERVAL)