• Viktor Söderqvist's avatar
    Test that module can wake up module blocked on non-empty list key (#8382) · 9c148310
    Viktor Söderqvist authored
    BLPOP and other blocking list commands can only block on empty keys
    and LPUSH only wakes up clients when the list is created.
    
    Using the module API, it's possible to block on a non-empty key.
    Unblocking a client blocked on a non-empty list (or zset) can only
    be done using RedisModule_SignalKeyAsReady(). This commit tests it.
    9c148310
blockonkeys.tcl 7.19 KB