Async commands incorrectly think they are dirty
Former-commit-id: 4874247931425767156ab3da934c00a4d4832bcf
This commit is contained in:
parent
4a0b8534f4
commit
938d318596
@ -4405,7 +4405,10 @@ void call(client *c, int flags) {
|
||||
serverTL->commandsExecuted++;
|
||||
const long duration = elapsedUs(call_timer);
|
||||
c->duration = duration;
|
||||
dirty = g_pserver->dirty-dirty;
|
||||
if (flags & CMD_CALL_ASYNC)
|
||||
dirty = 0; // dirty is bogus in this case as there's no synchronization
|
||||
else
|
||||
dirty = g_pserver->dirty-dirty;
|
||||
if (dirty < 0) dirty = 0;
|
||||
|
||||
if (dirty)
|
||||
|
Loading…
x
Reference in New Issue
Block a user