Skip to content

Add convertation to string in Redis Command#set#3519

Closed
102Rudy wants to merge 1 commit intopocoproject:develfrom
102Rudy:fix-redis-command-set
Closed

Add convertation to string in Redis Command#set#3519
102Rudy wants to merge 1 commit intopocoproject:develfrom
102Rudy:fix-redis-command-set

Conversation

@102Rudy
Copy link
Copy Markdown

@102Rudy 102Rudy commented Feb 13, 2022

There is a problem in Poco::Redis::Command::set(...)

If I want to set expire time for the value, I can't just write:

Poco::Redis::Command::set(key, value, true, Poco::Timespan(60, 0));

That doesn't work because of incorrect implementation of the set function: when expireTime is added to cmd it's not converted from Int64 to std::string.

This PR fixes the issue.

@102Rudy
Copy link
Copy Markdown
Author

102Rudy commented Feb 17, 2022

@obiltschnig Hey! Will we merge that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants