diff options
| author | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-04-15 11:52:21 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me> | 2024-04-15 11:52:21 +0200 |
| commit | 48ca185105988aba0626850bf133ba364edd835e (patch) | |
| tree | e9fbb1b327212845d4689fd650366aeecbc35cd5 /main.go | |
| parent | dcc260c4b0c8733fcc63322bcdd74f4540fb5a95 (diff) | |
perf(redis): use the same client in all xp goroutines
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -51,6 +51,8 @@ func main() { AfterInit: afterInit, } bot.Start() + + xp.CloseRedisClient() } func afterInit(dg *discordgo.Session) { |
