Skip to content

Commit e432293

Browse files
committed
Adjust max wait
1 parent e772208 commit e432293

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

operator/src/main/resources/scripts/startNodeManager.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
#!/bin/sh
1+
#!/bin/bash
2+
23
# Copyright 2017, 2019, Oracle Corporation and/or its affiliates. All rights reserved.
34
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
45

@@ -290,7 +291,7 @@ ${stm_script} > ${nodemgr_out_file} 2>&1 &
290291

291292
wait_count=0
292293
start_secs=$SECONDS
293-
max_wait_secs=15
294+
max_wait_secs=${NODE_MANAGER_MAX_WAIT:-60}
294295
while [ 1 -eq 1 ]; do
295296
sleep 1
296297
if [ -e ${nodemgr_log_file} ] && [ `grep -c "Plain socket listener started" ${nodemgr_log_file}` -gt 0 ]; then

0 commit comments

Comments
 (0)