Commands in a MULTI/EXEC transaction are only executed once EXEC is
sent. This is documented in the transactions page
(
http://redis.io/topics/transactions):
> All the commands are executed once EXEC is called.
Before that they are appended to an internal queue. Any delay between
adding commands before EXEC is irrelevant for the actual execution.
Apart from that, each command makes a call to `mstime()` to get the
actual time and then adds your passed value. As functions take far less
than 1s the keys should be expired at the same time (in the boundaries
of these small function call differences).
Does this help?
> --
> You received this message because you are subscribed to the Google Groups "Redis DB" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
redis-db+u...@googlegroups.com.
> To post to this group, send email to
redi...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/redis-db.
> For more options, visit
https://groups.google.com/d/optout.