We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47e184c commit 0074f2fCopy full SHA for 0074f2f
server/server.go
@@ -151,7 +151,7 @@ func (server *server) startEventForwarder(ctx context.Context) {
151
if server.connectedClients.Load() == 0 {
152
// Keep the client and IRC connection alive for 3 minutes in case another client connects
153
server.log.Println("No clients connected. Waiting 3 minutes before closing connection.")
154
- destructTimer = time.AfterFunc(time.Second*30, func() {
+ destructTimer = time.AfterFunc(3*time.Minute, func() {
155
156
server.irc.Disconnect()
157
server.log.Println("IRC connection closed.")
0 commit comments