Skip to content

Commit dded966

Browse files
committed
Oopsie
1 parent 4b18c7b commit dded966

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actions/ci_connection/wait_for_connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ async def wait_for_connection(host: str = 'localhost',
147147
timeout=60,
148148
return_when=asyncio.FIRST_COMPLETED)
149149

150+
elapsed = time.time() - WaitInfo.last_time
150151
if WaitInfo.waiting_for_close:
151152
msg = "Connection was terminated."
152153
terminate = True
@@ -160,7 +161,6 @@ async def wait_for_connection(host: str = 'localhost',
160161
await server.wait_closed()
161162
break
162163

163-
elapsed = time.time() - WaitInfo.last_time
164164
logging.info(f"Time since last keep-alive: {int(elapsed)}s")
165165

166166
logging.info("Waiting process terminated.")

0 commit comments

Comments
 (0)