drogonframework / drogon

Drogon: A C++14/17/20 based HTTP web application framework running on Linux/macOS/Unix/Windows
MIT License
11.45k stars 1.1k forks source link

NOT WORKING REDIS !!! NOT WORKING #2094

Closed kaizer1 closed 2 months ago

kaizer1 commented 2 months ago

nosql::RedisClientPtr redisClient = app().getRedisClient();

return error : drogon::nosql::RedisClientPtr drogon::nosql::RedisClientManager::getRedisClient(const std::string&): Assertion `redisClientsMap.find(name) != redisClientsMap.end()' failed. Aborted

That is, it doesn't work. But why do you write that you can use it, if it’s a bit of a lie and insanity????? .... .... .... .... Everything stands, hiredis , ubuntu 24, and c++ 20 - and all here in this place - it falls. Everything is separate, starts up and works fine. Redis-cli ok work, all data Set and Get, but redis on Drogon not working. And okay, it doesn’t work. But write like that - we have not implemented this. Why are you lying?

hwc0919 commented 2 months ago

I feel sorry that you find it a lie. No can do.

kaizer1 commented 2 months ago

I spent two days on this, and it’s a shame. It would be better to screw another solution