-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Proposal: Move freshrss lock file into web dir #1705
Description
Hello there,
my proposal is to not write the .freshrss.lock file into the system temp dir, but find a cosy place inside the web directory tree for it.
Reason:
A friend of mine had the issue where the lock file got stuck somehow and feed updating was just giving the message "Feed already being actualized". Since this installation is on shared hosting where the system temp dir is not reachable for the customer, it was not possible to delete it. As soon as I changed the lock file path in app/Models/Feeds.php:367 from TMP_PATH to CACHE_PATH, FreshRSS was working all fine, and when it should get stuck again in the future, it's removable via FTP.
It would be awesome if you could implement some change similar to this so my friend doesn't need to merge this change after every update. Thanks!