-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36978 from owncloud/long_downloads
Better handling of DB timeouts on long downloads
- Loading branch information
Showing
3 changed files
with
23 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Bugfix: Avoid unneeded DB connections after a long download | ||
|
||
After a long download, we needed to return the filesize, which needed a connection | ||
to the DB. The DB could have ended the connection due to an inactivity timeout. | ||
Now, the filesize is fetched before starting the download, so this timeout shouldn't | ||
happen any longer. | ||
We still need to update the checksum after the download is finished. In this case, | ||
we just log an error message and keep going. | ||
|
||
https://github.com/owncloud/core/pull/36978 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters