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 in service down 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 to 1 and 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>

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