Skip to content

Commit 494cecd

Browse files
authored
hack deadline to fix timeout (#11799)
* hack deadline to fix timeout * add fixme
1 parent 4b8d65a commit 494cecd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

paddle/fluid/operators/distributed/rpc_client.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
#include "gflags/gflags.h"
1717

1818
// default to 3min to avoid temprary network failures.
19-
DEFINE_int32(grpc_deadline, 180000, "deadline timeouts for grpc");
19+
// FIXME(typhoonzero): change this default to smaller value once we have
20+
// implemented pass barriers and tests.
21+
DEFINE_int32(grpc_deadline, 3600000, "deadline timeouts for grpc");
2022

2123
namespace paddle {
2224
namespace operators {

0 commit comments

Comments
 (0)