mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 10:25:47 +02:00
fix(server): Initialize ServerFamily with all listeners. (#1485)
* fix(server): Initialize ServerFamily with all listeners. - Add a test for CLIENT LIST which is the visible result of this. * use std move
This commit is contained in:
parent
1ee0e30255
commit
52192e0596
7 changed files with 35 additions and 14 deletions
|
@ -35,7 +35,7 @@ class Service : public facade::ServiceInterface {
|
|||
explicit Service(util::ProactorPool* pp);
|
||||
~Service();
|
||||
|
||||
void Init(util::AcceptServer* acceptor, util::ListenerInterface* main_interface,
|
||||
void Init(util::AcceptServer* acceptor, std::vector<facade::Listener*> listeners,
|
||||
const InitOpts& opts = InitOpts{});
|
||||
|
||||
void Shutdown();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue