You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/cache_maintenance.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,11 +7,11 @@ There are two a Bash scripts at `bin/loris-cache_clean.sh` and `bin/loris-http_c
7
7
8
8
__`setup.py` will not move or deploy the script for you.__ You can do this with, e.g. `sudo crontab -e -u loris` (replace `loris` with a user that has permission to delete files from the cache).
9
9
10
-
`du` can take a very long time to run if you've configured your cache to be very large. In this case, consider setting an arbitrarily high disk usage quota for the cache owner ('arbitrarily high' so that you don't get errors if you go over a bit between executions of the cron script), and replace the `current_usage()` function in the cron script with:
10
+
`du` can take a very long time to run if you've configured your cache to be very large. In this case, consider setting an arbitrarily high disk usage quota for the cache owner ('arbitrarily high' so that you don't get errors if you go over a bit between executions of the cron script), and replace the `current_usage()` function in the cron script with something like (you'll probably have to adjust the name of the file system):
0 commit comments