mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-09 08:41:31 +00:00
[idd] scheduler: reserve slots for frame subscribers
Replace the oldest provisional schedule entry when the bounded client table has no empty slot. Never evict a client whose frame subscription has already been observed. This prevents rapid failed reconnects from filling every scheduler slot before a real frame subscriber can be registered.
This commit is contained in:
@@ -114,6 +114,7 @@ private:
|
||||
uint64_t m_lastLogPublished = 0;
|
||||
|
||||
Client * FindClient(uint32_t clientID);
|
||||
Client * FindOrAllocateClient(uint32_t clientID);
|
||||
Publication * FindPublication(const Schedule& schedule,
|
||||
uint32_t frameSerial);
|
||||
bool ElectOwner(uint64_t now, uint32_t resetClientID = 0);
|
||||
|
||||
Reference in New Issue
Block a user