forked from mindspore-Ecosystem/mindspore
!49423 Adjust retry interval
Merge pull request !49423 from ZPaC/adjust-retry-interval
This commit is contained in:
commit
b2390a782d
|
@ -20,7 +20,7 @@ namespace mindspore {
|
|||
namespace distributed {
|
||||
namespace rpc {
|
||||
constexpr int EAGAIN_RETRY = 1024000;
|
||||
constexpr int EAGAIN_SLEEP_INTERVAL = 10000;
|
||||
constexpr int EAGAIN_SLEEP_INTERVAL = 100;
|
||||
|
||||
ssize_t TCPSocketOperation::ReceivePeek(Connection *connection, char *recvBuf, uint32_t recvLen) {
|
||||
return recv(connection->socket_fd, recvBuf, recvLen, MSG_PEEK);
|
||||
|
|
Loading…
Reference in New Issue