Skip to content

Commit a1f1a5e

Browse files
seiriosPluschengduo
authored andcommitted
rename grpc to rpc (#11717)
1 parent 2dae8a4 commit a1f1a5e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

paddle/fluid/operators/distributed/grpc_client.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ class GRPCClient : public RPCClient {
212212
int64_t time_out = FLAGS_rpc_deadline) override;
213213

214214
void AsyncCheckpointNotify(const std::string& ep, const std::string& dir,
215-
int64_t time_out = FLAGS_grpc_deadline) override;
215+
int64_t time_out = FLAGS_rpc_deadline) override;
216216

217217
void Wait() override;
218218

paddle/fluid/operators/distributed/rpc_client.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ class RPCClient {
5656
virtual void AsyncSendFetchBarrier(const std::string& ep,
5757
int64_t time_out = FLAGS_rpc_deadline) = 0;
5858

59-
virtual void AsyncCheckpointNotify(
60-
const std::string& ep, const std::string& dir,
61-
int64_t time_out = FLAGS_grpc_deadline) = 0;
59+
virtual void AsyncCheckpointNotify(const std::string& ep,
60+
const std::string& dir,
61+
int64_t time_out = FLAGS_rpc_deadline) = 0;
6262

6363
// SendComplete tells all the server that current trainer have no more data
6464
// to train, so that the pserver can reduce it's barrier count, and continue

0 commit comments

Comments
 (0)