Skip to content

Commit

Permalink
fix: timeout values were too short
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Sep 16, 2021
1 parent ee15217 commit 17d797f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
0.7.1
- fix: handle connection errors on startup when no internet connection
is available (#34)
- fix: QTimer timeout value for downloads and uploads was too short
- fix: simplify error messages on connection errors in UI
- enh: do not re-download already-downloaded resources (#31)
- enh: implement resume for downloads (#31)
Expand Down
2 changes: 1 addition & 1 deletion dcoraid/gui/download/widget_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def __init__(self, *args, **kwargs):
else:
self.timer = QtCore.QTimer()
self.timer.timeout.connect(self.update_job_status)
self.timer.start(30)
self.timer.start(1000)
self._finished_downloads = []

def set_job_list(self, jobs):
Expand Down
2 changes: 1 addition & 1 deletion dcoraid/gui/upload/widget_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def __init__(self, *args, **kwargs):
else:
self.timer = QtCore.QTimer()
self.timer.timeout.connect(self.update_job_status)
self.timer.start(30)
self.timer.start(1000)
self._finished_uploads = []

def set_job_list(self, jobs):
Expand Down

0 comments on commit 17d797f

Please sign in to comment.