refactor: reuse constants for redis db

This commit is contained in:
talksik
2026-04-12 09:18:35 -07:00
parent 7352e02342
commit 11e1ef355e
4 changed files with 11 additions and 13 deletions
+8
View File
@@ -0,0 +1,8 @@
package db
// Shared database namespaces used across services
// FIX: Use separate redis instance. We start with higher number because use this same instance in helios.
const (
RedisDBAuth = 4 // auth sessions
RedisDBPusher = 5 // dedicated to pusher state (presence, pub/sub)
)