redesign IfaceMap

Switch to periodic poll on dedicated worker thread
instead of opportunistic poll on use.
This commit is contained in:
Michael Davidsaver
2025-02-20 12:07:12 -08:00
parent 25f5f1dcee
commit a464e9a6eb
9 changed files with 170 additions and 212 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ SockEndpoint parseEP(const char* optarg, const server::Config& conf)
struct App {
const SockAttach attach;
IfaceMap& ifmap;
IfaceMap ifmap;
const evsocket sockTx{AF_INET, SOCK_DGRAM, 0};
std::vector<SockEndpoint> destinations;