Jump to content

Real-time monitoring delay on Windows 10


Pancake2

Recommended Posts

Pancake2
Hey there,
 
Just wanted to say, I'm very happy with how Emby works on Windows, but I just wanted to check if this behaviour is normal:
 
I have realtime monitoring enabled for my libraries, and it seems to work fine according to the logs, but I'm not sure if it should take this long to update, maybe something is hanging it.
 
Emby Server version: 4.1.0.26
System: Windows 10
 
I attached a relevant logfile for you to check, but my question is specifically about this:

2019-04-22 09:16:52.006 Debug LibraryMonitor: New file refresher created for D:\TV\Game of Thrones
2019-04-22 09:18:08.586 Debug LibraryMonitor: Timer stopped.
2019-04-22 09:18:08.587 Info LibraryMonitor: Game of Thrones (D:\TV\Game of Thrones) will be refreshed.
2019-04-22 09:18:08.706 Info App: Creating Season Season Unknown entry for Game of Thrones

 

 

 
What exactly is this Timer on the second line?
My problem is that it takes a whole minute after the librarymonitor is triggered to get this "Timer Stopped" message, and then get it actually refreshed. After that, it updates fine.
 
Thank you very much for the support and keep up the good work!
Link to comment
Share on other sites

Happy2Play

I would assume it is the built in delay in the system.xml.

<LibraryMonitorDelay>60</LibraryMonitorDelay>
  • Like 1
Link to comment
Share on other sites

Pancake2

Indeed, you are right.

I changed it from 60 to 5 and it happened in 5 seconds.

 

Any reason to keep it as high as 60 seconds?

I'm thinking now of keeping it lower.

Link to comment
Share on other sites

Indeed, you are right.

I changed it from 60 to 5 and it happened in 5 seconds.

 

Any reason to keep it as high as 60 seconds?

I'm thinking now of keeping it lower.

 

Yes, because it is quite likely that more changes are coming and we don't want to be kicking off a scan/refresh then canceling it then kicking off another one etc. as more and more files get changed.

 

So, we wait until the activity has stopped for about a minute before starting the scan.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...