Changeset 682 in code for trunk/user.go


Ignore:
Timestamp:
Nov 9, 2021, 9:09:17 PM (4 years ago)
Author:
contact
Message:

Add a queue for WHO commands

This has the following upsides:

  • We can now routes WHO replies to the correct client, without broadcasting them to everybody.
  • We are less likely to hit server rate limits when multiple downstreams are issuing WHO commands at the same time.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/user.go

    r681 r682  
    682682        uc.network.conn = nil
    683683
    684         uc.endPendingLISTs()
     684        uc.endPendingCommands()
    685685
    686686        for _, entry := range uc.channels.innerMap {
Note: See TracChangeset for help on using the changeset viewer.