From 494cecd650ab89b10a24784399a98aae904256c4 Mon Sep 17 00:00:00 2001 From: Wu Yi Date: Thu, 28 Jun 2018 20:36:04 +0800 Subject: [PATCH] hack deadline to fix timeout (#11799) * hack deadline to fix timeout * add fixme --- paddle/fluid/operators/distributed/rpc_client.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/paddle/fluid/operators/distributed/rpc_client.cc b/paddle/fluid/operators/distributed/rpc_client.cc index 2cf87faaab..dc7970f4b0 100644 --- a/paddle/fluid/operators/distributed/rpc_client.cc +++ b/paddle/fluid/operators/distributed/rpc_client.cc @@ -16,7 +16,9 @@ #include "gflags/gflags.h" // default to 3min to avoid temprary network failures. -DEFINE_int32(grpc_deadline, 180000, "deadline timeouts for grpc"); +// FIXME(typhoonzero): change this default to smaller value once we have +// implemented pass barriers and tests. +DEFINE_int32(grpc_deadline, 3600000, "deadline timeouts for grpc"); namespace paddle { namespace operators { -- GitLab