mneme.zs:batch_incr

mneme

zs:batch_incr(members, delta) -> ok, err

Increment scores for multiple members in one transaction

Atomically increments the score of each member in the array by delta (default 1). New members are created with score equal to delta. Uses a single transaction with one fdatasync.