aboutsummaryrefslogtreecommitdiffstats
path: root/misc/sellershut.toml
diff options
context:
space:
mode:
authorrtkay123 <dev@kanjala.com>2026-02-03 13:45:46 +0200
committerrtkay123 <dev@kanjala.com>2026-02-03 13:45:46 +0200
commiteb2e86997d47249aa31b703598de13ab2eb96caa (patch)
tree9a591adee7d027b305d07a04987b5559b99f4d37 /misc/sellershut.toml
parent0ea3cb1d4743b922fbc6e07037096e75caffba8f (diff)
downloadsellershut-eb2e86997d47249aa31b703598de13ab2eb96caa.tar.bz2
sellershut-eb2e86997d47249aa31b703598de13ab2eb96caa.zip
feat: add cacheHEADmaster
Diffstat (limited to 'misc/sellershut.toml')
-rw-r--r--misc/sellershut.toml20
1 files changed, 18 insertions, 2 deletions
diff --git a/misc/sellershut.toml b/misc/sellershut.toml
index 0c179f5..06102a0 100644
--- a/misc/sellershut.toml
+++ b/misc/sellershut.toml
@@ -10,11 +10,27 @@ environment = "dev"
redirect-url = "https://example.com"
[oauth.discord]
-#client-id = ""
-#client-secret = ""
+client-id = ""
+client-secret = ""
token-url = "https://example.com"
auth-url = "https://example.com"
[database]
url = "postgres://postres:password@localhost:5432/sellershut"
pool-size = 100
+
+[cache]
+dsn = "redis://localhost:6379"
+pooled = true
+type = "non-clustered" # clustered, non-clustered or sentinel
+max-connections = 100
+
+[cache.sentinel]
+master-name = "mymaster"
+nodes = [
+ { host = "127.0.0.1", port = 26379 },
+ { host = "127.0.0.2", port = 26379 },
+ { host = "127.0.0.3", port = 26379 },
+]
+
+# vim:ft=toml