The default is to fsync once per second so the failure window is small but it's not zero.
It's possible to fsync on every write[1] but it may be too slow as the single threaded nature of Redis means you've serialized every write operation. Plus that'd apply to all usage of that Redis server, not just the queue.
It's possible to fsync on every write[1] but it may be too slow as the single threaded nature of Redis means you've serialized every write operation. Plus that'd apply to all usage of that Redis server, not just the queue.
[1]: https://redis.io/topics/persistence#how-durable-is-the-appen...