| 1748 | } |
| 1749 | |
| 1750 | void OnError() override { |
| 1751 | try { |
| 1752 | throw; |
| 1753 | } catch (const TSystemError& e) { |
| 1754 | //crutch for prevent 100% busyloop (simple suspend listener/accepter) |
| 1755 | if (e.Status() == EMFILE) { |
| 1756 | E_.Running()->SleepT(TDuration::MilliSeconds(500)); |
| 1757 | } |
| 1758 | } |
| 1759 | } |
| 1760 | |
| 1761 | private: |
| 1762 | IOnRequest* CB_; |
nothing calls this directly
no test coverage detected