cpp_redis
cpp_redis copied to clipboard
C++11 Lightweight Redis client: async, thread-safe, no dependency, pipelining, multi-platform - NO LONGER MAINTAINED - Please check https://github.com/cpp-redis/cpp_redis
Hi there, I really like the platform and thank you for continuing to maintain a great project. I have a query though regarding Publishing as it may be broken in...
I try to use blpop with timeout parameter as the following code: ``` int main(int argc, char* argv[]) { cpp_redis::client client; RedisInfo redis_info; redis_info.address = "127.0.0.1"; redis_info.port = 6379; //...
When I run redis with localhost read/write works perfectly but with remote redis client hangs randomly. The stack trace points to conditonal wait on the mutex. I am yet to...
Command 'get-master-addr-by-m_name' should be 'get-master-addr-by-name'
Below redis client program seg-faults on exit if redis-server is not available. I killed `redis-server` after the client started. Call stack from core dump is below. ```c++ #include #include #include...
When I send the SCAN, how can I obtain the cursor and returned list? Thanks
**Bear minimum code** **Connect and reconnect code** `void RedisUtil::connect_callback(const std::string& host, std::size_t port, cpp_redis::client::connect_state status){ if (status == cpp_redis::client::connect_state::dropped) { std::unique_lock ulock(m_mutex); m_con_var.wait(ulock,std::bind(&RedisUtil::is_client_available,this)); release(); while(intialize(host,port)){}; } } bool RedisUtil::intialize(const std::string...
When the client object is distroyed but the the callbacks are not yet completed, this causes a memory corruption as the callback counter variable is in nowhereland. So we have...
I am new to Redis, have been working with the Redis driver **https://github.com/Cylix/cpp_redis/wiki/Examples.** I have made an application in C++, the problem I am encountering is that I keep opening...
Hey together, currently I have a problem regarding the usage of two parallel redis connections from an application. After usage, I want to close the connection by calling the function...