• Oran Agra's avatar
    Fix WAIT for clients being blocked in a module command (#12220) · 6117f288
    Oran Agra authored
    So far clients being blocked and unblocked by a module command would
    update the c->woff variable and so WAIT was ineffective and got released
    without waiting for the command actions to propagate.
    
    This seems to have existed since forever, but not for RM_BlockClientOnKeys.
    
    It is problematic though to know if the module did or didn't propagate
    anything in that command, so for now, instead of adding an API, we'll
    just update the woff to the latest offset when unblocking, this will
    cause the client to possibly wait excessively, but that's not that bad.
    6117f288
blockonkeys.tcl 10.4 KB