Skip to content

Commit

Permalink
Changed reload timeout to 4 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
superolmo committed Nov 6, 2023
1 parent b52a96e commit 5e101dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/lib/hypnotix/hypnotix.py
Original file line number Diff line number Diff line change
Expand Up @@ -1607,7 +1607,7 @@ def reload(self, page=None, refresh=False):
provider.groups = x.groups

# Change redownload timeout
self.reload_timeout_sec = 60 * 60 * 2 # 2 hours
self.reload_timeout_sec = 60 * 60 * 4 # 4 hours
if self._timerid:
GLib.source_remove(self._timerid)
self._timerid = GLib.timeout_add_seconds(self.reload_timeout_sec, self.force_reload)
Expand Down

0 comments on commit 5e101dc

Please sign in to comment.