-
-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make stats page faster when file access is slow (#864)
* Fetch archive count from redis rather than looking at filesystem * Store archive size in redis, use that in stats page * Use MULTI for fetching archive sizes * Avoid undefined warnings if DB lacks archive sizes * Add redis connection as parameter to arcsize getters/setters * Refresh archive size if file is modified * Avoid crashing when uploading through webui * Be more consistent when it comes to parameter order
- Loading branch information
1 parent
865340c
commit 272a96b
Showing
4 changed files
with
43 additions
and
24 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
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
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