Skip to content

Commit f8abd15

Browse files
author
David Erb
committed
longer timeout to start service
1 parent 81c4277 commit f8abd15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/dls_servbase_lib/base_aiohttp.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@ async def start_process(self):
124124
)
125125
self.__process2.start()
126126
logger.debug(f"[PIDAL] {callsign(self)} pid {self.__process2.pid} is started")
127-
timeout = 5.0
127+
# TODO: Make maximum wait time for start_process event to be configurable.
128+
timeout = 30.0
128129
naptime = 0.25
129130
time0 = time.time()
130131
while time.time() - time0 < timeout:

0 commit comments

Comments
 (0)