fix(websocket): errors in saving client info during ping ping

This commit is contained in:
2025-07-29 20:13:05 -05:00
parent daf9e8a966
commit 4368111311
5 changed files with 136 additions and 28 deletions

View File

@@ -27,9 +27,10 @@ import (
)
func LogServices(broadcaster chan logging.Message) {
fmt.Println("[LogServices] started - single channel for all logs")
logger := logging.New()
logger.Info("[LogServices] started - single channel for all logs", "websocket", map[string]interface{}{})
dsn := fmt.Sprintf("host=%s port=%s user=%s password=%s dbname=%s sslmode=disable",
os.Getenv("DB_HOST"),
os.Getenv("DB_PORT"),