mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 10:25:47 +02:00
chore: remove ToUpper calls in main_service (#3947)
* chore: remove ToUpper calls in main_service Also, test for IsPaused() first to avoid doing more checks for common-case. --------- Signed-off-by: Roman Gershman <roman@dragonflydb.io>
This commit is contained in:
parent
a7c9fde38e
commit
84e22aa658
7 changed files with 48 additions and 55 deletions
|
@ -64,7 +64,6 @@ class Service : public facade::ServiceInterface {
|
|||
facade::ConnectionContext* CreateContext(util::FiberSocketBase* peer,
|
||||
facade::Connection* owner) final;
|
||||
|
||||
std::pair<const CommandId*, CmdArgList> FindCmd(CmdArgList args) const;
|
||||
const CommandId* FindCmd(std::string_view) const;
|
||||
|
||||
CommandRegistry* mutable_registry() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue