DOKK / manpages / debian 12 / mtpolicyd / Mail::MtPolicyd::SessionCache::Redis.3pm.en
Mail::MtPolicyd::SessionCache::Redis(3pm) User Contributed Perl Documentation Mail::MtPolicyd::SessionCache::Redis(3pm)

Mail::MtPolicyd::SessionCache::Redis - a session cache adapter for redis

version 2.05

  <SessionCache>
    module = "Redis"
    #redis = "redis"
    # expire session cache entries
    expire = "300"
    # wait timeout will be increased each time 50,100,150,... (usec)
    lock_wait=50
    # abort after n retries
    lock_max_retry=50
    # session lock times out after (sec)
    lock_timeout=10
  </SessionCache>

Name of the database connection to use.

You have to define this connection first.

see Mail::MtPolicyd::Connection::Redis

Timeout in seconds for sessions.
Timeout for retry when session is locked in milliseconds.

The retry will be done in multiples of this timeout.

When set to 50 retry will be done in 50, 100, 150ms...

Maximum number of retries before giving up to obtain lock on a session.
Timeout of session locks in seconds.

Markus Benning <ich@markusbenning.de>

This software is Copyright (c) 2014 by Markus Benning <ich@markusbenning.de>.

This is free software, licensed under:

  The GNU General Public License, Version 2, June 1991
2022-10-15 perl v5.34.0