diff --git a/cont/mainRE.py b/cont/mainRE.py index b4b63a2..0b2181d 100644 --- a/cont/mainRE.py +++ b/cont/mainRE.py @@ -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)