Library won't properly update on file move\delete (too slow)

Issue #446 invalid
Former user created an issue

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)

  1. Petr Nejedly repo owner

    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.

  2. Former user Account Deleted

    What is the exact interval value and is there any way to reduce it or it's hardcoded?

  3. Former user Account Deleted

    Just to verify..but "Force refresh" will do both adds and deletes immediately..correct?

  4. Log in to comment