Skip to content

Commit

Permalink
longer timeout to start service
Browse files Browse the repository at this point in the history
  • Loading branch information
David Erb committed May 9, 2023
1 parent 81c4277 commit f8abd15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dls_servbase_lib/base_aiohttp.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ async def start_process(self):
)
self.__process2.start()
logger.debug(f"[PIDAL] {callsign(self)} pid {self.__process2.pid} is started")
timeout = 5.0
# TODO: Make maximum wait time for start_process event to be configurable.
timeout = 30.0
naptime = 0.25
time0 = time.time()
while time.time() - time0 < timeout:
Expand Down

0 comments on commit f8abd15

Please sign in to comment.