| 26 | static std::atomic<double> HeartbeatTimeout = 0.0; |
| 27 | |
| 28 | static int GetPacketSize(TRequest* req) { |
| 29 | if (req && req->Data.Get()) |
| 30 | return req->Data->GetSize(); |
| 31 | return 0; |
| 32 | } |
| 33 | |
| 34 | static bool IsLocalFast(const TUdpAddress& addr) { |
| 35 | if (addr.IsIPv4()) { |
no test coverage detected