Skip to content

Commit ea038d6

Browse files
authored
Increase logging and readiness timeouts (#51)
* Increase logging timer to 5 minutes. * Update readiness timer to 5 minutes also.
1 parent 00ac46e commit ea038d6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rayvens/core/common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def _wait_for_ready_integration(mode, integration):
4646
health_check_address = f"{server_address}/q/health"
4747

4848
healthy_integration = False
49-
max_retries = 100
49+
max_retries = 5 * 60
5050
while True:
5151
try:
5252
response = requests.get(health_check_address, timeout=(5, 5))

rayvens/core/invocation.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ def _check_kamel_output(self,
152152
end_condition,
153153
with_output=False,
154154
with_timeout=False):
155-
# Implicit 2 minute timout in hundredths of a second:
156-
timout_duration = 2 * 60 * 100
155+
# Implicit 5 minute timout in hundredths of a second:
156+
timout_duration = 5 * 60 * 100
157157
if with_timeout:
158158
countdown = timout_duration
159159
reading_thread = utils.LogThread(self.process.stdout)

0 commit comments

Comments
 (0)