| 52 | }; |
| 53 | |
| 54 | inline void Put(TConnRef& conn, size_t addrId) { |
| 55 | conn->SetCached(true); |
| 56 | ConnList(addrId).Enqueue(conn.Get()); |
| 57 | conn->Ref(); |
| 58 | Y_UNUSED(conn.Release()); |
| 59 | CachedConn_.Inc(); |
| 60 | } |
| 61 | |
| 62 | bool Get(TConnRef& conn, size_t addrId) { |
| 63 | TConnList& connList = ConnList(addrId); |