From 2d91e37b4102aef2232f1cf42a3a62c2b26e1852 Mon Sep 17 00:00:00 2001 From: JacketWoo Date: Thu, 19 May 2016 20:51:35 +0800 Subject: [PATCH 1/2] OP: optimize the performace of spop --- third/nemo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third/nemo b/third/nemo index d2253ffb5..8063db114 160000 --- a/third/nemo +++ b/third/nemo @@ -1 +1 @@ -Subproject commit d2253ffb5a5b7eff85c74dd95b433330945716e1 +Subproject commit 8063db114d62ddebd4ca43482e22e24d9a756b66 From 3e5807253fc07c685245090af009615911609a97 Mon Sep 17 00:00:00 2001 From: JacketWoo Date: Thu, 19 May 2016 20:53:51 +0800 Subject: [PATCH 2/2] add redis_version in inf commando --- src/pika_admin.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pika_admin.cc b/src/pika_admin.cc index 7a995e48c..23d2bc175 100644 --- a/src/pika_admin.cc +++ b/src/pika_admin.cc @@ -452,6 +452,7 @@ void InfoCmd::InfoServer(std::string &info) { uint32_t purge_max; tmp_stream << "# Server\r\n"; tmp_stream << "pika_version:" << kPikaVersion << "\r\n"; + tmp_stream << "redis_version:2.8.21" << "\r\n"; tmp_stream << "os:" << host_info.sysname << " " << host_info.release << " " << host_info.machine << "\r\n"; tmp_stream << "arch_bits:" << (reinterpret_cast(&host_info.machine) + strlen(host_info.machine) - 2) << "\r\n"; tmp_stream << "process_id:" << getpid() << "\r\n";