-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent unnecessary cache invalidation
We use 2 scheduled actions with a high frequency: - check conversion queue (every 2 minutes) - unlock folders (every 10 minutes) The issue is that the job processing triggers a cache invalidation which impacts performances. The conversion queue is now dynamically activated when we run a converter. It is automatically deactivated once a day if no converter is running. The folder unlocking is now executed every 3 hours. Indeed, the 'Unlock' button is now made more visible, so it can be done maunally. We still keep the cron to avoid the library not being scanned for ages.
- Loading branch information
1 parent
1eb42bf
commit 18ec98f
Showing
3 changed files
with
31 additions
and
3 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