mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 10:25:47 +02:00
feat(server): Replace channel slice with store (#938)
* feat(server): Replace channel slice with store Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io> --------- Signed-off-by: Vladislav Oleshko <vlad@dragonflydb.io>
This commit is contained in:
parent
34aec80e5a
commit
03fb21a280
14 changed files with 299 additions and 410 deletions
|
@ -119,6 +119,7 @@ class Service : public facade::ServiceInterface {
|
|||
void CallFromScript(CmdArgList args, ObjectExplorer* reply, ConnectionContext* cntx);
|
||||
|
||||
void RegisterCommands();
|
||||
|
||||
base::VarzValue::Map GetVarzStats();
|
||||
|
||||
util::ProactorPool& pp_;
|
||||
|
@ -128,7 +129,6 @@ class Service : public facade::ServiceInterface {
|
|||
absl::flat_hash_map<std::string, unsigned> unknown_cmds_;
|
||||
|
||||
mutable ::boost::fibers::mutex mu_;
|
||||
|
||||
GlobalState global_state_ = GlobalState::ACTIVE; // protected by mu_;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue