Explain what system.file_status_cache.prune does

kannibalox
2023-08-21 14:48:32 -04:00
parent 1e4bf471ba
commit b5ecc3924b
+6 -1
@@ -209,8 +209,13 @@ Increase this interval, e.g. to 12 hours instead, if you think you're system is
schedule2 = session_save, 1200, 43200, ((session.save))
```
(_What is this for??? `schedule2 = prune_file_status, 3600, 86400, ((system.file_status_cache.prune))`_)
#### File status cache
When using using the `load` commands, rtorrent caches the file's path and metadata, and avoids attempting to load any files that haven't changed. This is helpful when using watch directories that may have a large amount of torrent files that have already been loaded, but the only way to clear the cache is to clear it fully with the `system.file_status_cache.prune` command. The default schedule of 24 hours is good enough for most cases, but you may wish to tweak the timing. Note that the command itself is very quick to run, but any subsequent load commands may be slow while rTorrent re-reads all the data from scratch.
```
schedule2 = prune_file_status, 3600, 86400, ((system.file_status_cache.prune))
```
### Disable built-in DNS cache