This update moves the flushing of Redis cache to the "shutdown" hook so that a lengthly cache flush doesn't cause "read error on connection" error notices.
It also adds a Settings API error when filesystem credentials are not forthcoming (rather than not doing anything as is the case currently).
Alternatively, starting with Redis 6.2, setting the lazyfree-lazy-user-flush in the redis.conf configuration directive to yes changes the default flush mode to be asynchronous.
This update moves the flushing of Redis cache to the "shutdown" hook so that a lengthly cache flush doesn't cause "read error on connection" error notices.
It also adds a Settings API error when filesystem credentials are not forthcoming (rather than not doing anything as is the case currently).