From 48ca185105988aba0626850bf133ba364edd835e Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Mon, 15 Apr 2024 11:52:21 +0200 Subject: perf(redis): use the same client in all xp goroutines --- main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.go') diff --git a/main.go b/main.go index bbe995e..caede84 100644 --- a/main.go +++ b/main.go @@ -51,6 +51,8 @@ func main() { AfterInit: afterInit, } bot.Start() + + xp.CloseRedisClient() } func afterInit(dg *discordgo.Session) { -- cgit v1.2.3