mirror of
https://github.com/xcat2/confluent.git
synced 2025-07-02 19:05:34 +00:00
Defer handler processing
This was done in slp, do it also for ssdp. This hopefully does it's best to flush udp buffer more quickly in at scale scenarios.
This commit is contained in:
@ -112,8 +112,8 @@ def _process_snoop(peer, rsp, mac, known_peers, newmacs, peerbymacaddress, byeha
|
||||
if retdata:
|
||||
known_peers.add(peer)
|
||||
newmacs.add(mac)
|
||||
peerbymacaddress[mac] = peerdata
|
||||
handler(retdata)
|
||||
peerbymacaddress[mac] = retdata
|
||||
machandlers[mac] = handler
|
||||
|
||||
|
||||
def snoop(handler, byehandler=None, protocol=None, uuidlookup=None):
|
||||
|
Reference in New Issue
Block a user