-
Notifications
You must be signed in to change notification settings - Fork 669
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In context of #6049 a check for the existance of the db file was introduced. That check is performed before every db access... so several 100 times per second.
- Loading branch information
1 parent
4ee1193
commit 8351736
Showing
2 changed files
with
9 additions
and
7 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,9 @@ | ||
Enhancement: We improved the performance of db access | ||
|
||
We removed a check for the existence of the db that was executed before every access to the db. | ||
|
||
The check was introduced in #6049 to prevent crashes if the db does not exist or is removed during runtime. | ||
We nowadays gracefully handle missing dbs on startup, removing the db at runtime is too much of a corner case | ||
to sacrifice that much performance however. | ||
|
||
https://github.com/owncloud/client/pull/9918 |
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