- edited description
Library won't properly update on file move\delete (too slow)
I have Serviio 0.6.0.1 installed on Ubuntu Server 10.04.3 and use php webui. Auto refresh is enabled and interval is set to 1 minute. Also any other refresh related checkbocks are checked.
So here's the repro steps:
Simply try to move any video file to other folder and wait about 1 minute. It will appear in a new location as expected. But It will never be removed from it's previous location! And this is the problem.
I've checked the log file and it looks like there posted only 'add' events. This only can be fixed after manually using 'Force refresh'.
PS. It seems that delete file events also aren't tracked by serviio. I've waited for about 40 minutes and still file wasn't automatically removed from the database.
UPDATE: The file was removed from the library eventually, but it took more than an hour! Is there any way to change this interval? I even insist this interval should be significantly decreased, beacuse it can make a full mess in the library for some time.
Comments (10)
-
Account Deleted -
Account Deleted - edited description
-
Account Deleted - changed title to Library won't properly update on file move\delete (too slow)
-
Account Deleted - edited description
-
Account Deleted -
assigned issue to
-
assigned issue to
-
repo owner - changed status to invalid
This is a design choice to lower CPU/IO usage as much as possible. It's presumed users are mostly interested in added content than removed so additions are checked for more frequently.
-
Account Deleted What is the exact interval value and is there any way to reduce it or it's hardcoded?
-
repo owner Hardcoded, I think it's 1 hour.
-
Account Deleted Just to verify..but "Force refresh" will do both adds and deletes immediately..correct?
-
Account Deleted Yes. Also I've found a workaround http://forum.serviio.org/viewtopic.php?f=5&t=3873#p25643 and now my library is properly updated and detects deletes and adds constantly. Btw it's not consuming much cpu\io ussage indeed. (running on intel atom)
- Log in to comment