Mail::...:Redis(3pm)
β¨ NAME β¨
Mail::MtPolicyd::Connection::Redis β it's a mtpolicy connection for redis databases π
Like, the manual name is Mail::...:Redis(3pm) but the whole thing is literally called Mail::MtPolicyd::Connection::Redis, iykyk.
π VERSION π
version 2.05
π¦ SYNOPSIS π¦
<Connection redis>
server = "127.0.0.1:6379"
# or
# sock = "/path/to/sock"
# or
# sentinels = "127.0.0.1:12345,127.0.0.1:23456"
# service = "mymaster"
db = 0
# password = "secret"
</Connection>
okay so this is the vibe, bestie β you drop a <Connection redis> block in, pick how you wanna reach redis, and go π
πΈ PARAMETERS πΈ
server(default:'127.0.0.1:6379') β connect to your redis server over TCP/IP π the format is<host>:<port>, so like, host colon port, that's it.sock(default:undef) β connect to the redis server through a UNIX domain socket instead π§ you just hand over the path to that socket. That's the whole job.sentinels(default:undef) β here's the tea: give it a comma-separated list of sentinel instances to contact, and they'll go find the master for the service you name inservicedown below π it's giving "I don't know where the boss is, ask these guys."service(default:undef) β the service name you want to ask those sentinel servers for βdebug(default:0) β set it to1and you get debugging of the redis connection π so if something's acting up, flip this and watch.password(default:undef) β set the password if your redis connection requires one π only if it's required, no cap.db(default:0) β pick which redis database you wanna use π
π AUTHOR π
Markus Benning <ich@markusbenning.de>
π COPYRIGHT AND LICENSE π
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
and that's the whole page, bestie π«Ά perl v5.38.2, dated 2024-05-26 β go forth and connect to redis, periodt π
β¨
π¦ where this page comes from
- debian trixie: mtpolicyd 2.05-1.2 Β· GPL-2.0-only
- ubuntu questing: mtpolicyd 2.05-1.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms