Skip to content

Commit

Permalink
Lowered conection retry interval
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiumee committed Jun 16, 2020
1 parent 8066e0a commit 6f38fdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions default.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ def connectToDiscord(self):
self.presence = discordpresence.DiscordIpcClient.for_platform(CLIENT_ID[self.clientId])
except Exception as e:
log("Could not connect to discord: "+str(e))
monitor.waitForAbort(30)
# update every 30s just in case
monitor.waitForAbort(5)
# update every 5s just in case

self.lastActivity = None
self.updatePresence()
Expand Down

0 comments on commit 6f38fdc

Please sign in to comment.