mirror of
https://github.com/KingDuckZ/kamokan.git
synced 2025-10-06 15:09:59 +00:00
Get rid of the +1 -1 thing.
This commit is contained in:
parent
ecb44e725a
commit
6589ddd86f
2 changed files with 3 additions and 3 deletions
|
@ -175,7 +175,7 @@ namespace kamokan {
|
|||
if (not retval.valid_token)
|
||||
return retval;
|
||||
|
||||
redis::Script retrieve = m_redis->command().make_script(boost::string_view(g_load_script, g_load_script_size - 1));
|
||||
redis::Script retrieve = m_redis->command().make_script(boost::string_view(g_load_script, g_load_script_size));
|
||||
auto batch = m_redis->command().make_batch();
|
||||
retrieve.run(batch, std::make_tuple(parToken), std::make_tuple());
|
||||
auto raw_replies = batch.replies();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue