Fix build break from merge conflicts
Former-commit-id: 5052388bd43b0e42430fd741fb2b403544684246
This commit is contained in:
parent
d832ebb221
commit
1bf5477602
@ -3029,7 +3029,7 @@ bool redisDbPersistentData::prefetchKeysAsync(client *c, parsed_command &command
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
|
||||
AeLocker lock;
|
||||
|
@ -2369,7 +2369,7 @@ void parseClientCommandBuffer(client *c) {
|
||||
}
|
||||
|
||||
/* Prefetch outside the lock for better perf */
|
||||
if (cqueries < c->vecqueuedcmd.size() && !GlobalLocksAcquired()) {
|
||||
if (cqueriesStart < c->vecqueuedcmd.size() && !GlobalLocksAcquired()) {
|
||||
auto &query = c->vecqueuedcmd.back();
|
||||
if (query.argc > 0 && query.argc == query.argcMax) {
|
||||
if (c->db->prefetchKeysAsync(c, query, c->vecqueuedcmd.size() == 1)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user