File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 21
21
from keras_tuner .engine import hyperparameters as hp_module
22
22
from keras_tuner .engine import trial as trial_module
23
23
24
- TIMEOUT = 5 * 60 # 5 mins
24
+ # The timeout is so high to prevent a rare race condition from happening.
25
+ # We need clients to wait till chief oracle server starts. This normally takes
26
+ # a few minutes, but sometimes might take longer.
27
+ # See https://github.com/keras-team/keras-tuner/issues/990 for more details.
28
+ # Initially we didn't have any timeout. It was introduced to avoid tuner jobs
29
+ # hanging forever if chief oracle stops responding.
30
+ # See https://github.com/keras-team/keras-tuner/pull/957.
31
+ TIMEOUT = 60 * 60 # 60 mins
25
32
26
33
27
34
class OracleClient :
You can’t perform that action at this time.
0 commit comments