mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-23 14:10:40 +02:00
update LibraryMonitor
This commit is contained in:
parent
f35bd94c22
commit
52edc5a091
|
@ -84,7 +84,7 @@ namespace MediaBrowser.Server.Implementations.IO
|
||||||
// This is an arbitraty amount of time, but delay it because file system writes often trigger events long after the file was actually written to.
|
// This is an arbitraty amount of time, but delay it because file system writes often trigger events long after the file was actually written to.
|
||||||
// Seeing long delays in some situations, especially over the network, sometimes up to 45 seconds
|
// Seeing long delays in some situations, especially over the network, sometimes up to 45 seconds
|
||||||
// But if we make this delay too high, we risk missing legitimate changes, such as user adding a new file, or hand-editing metadata
|
// But if we make this delay too high, we risk missing legitimate changes, such as user adding a new file, or hand-editing metadata
|
||||||
await Task.Delay(25000).ConfigureAwait(false);
|
await Task.Delay(45000).ConfigureAwait(false);
|
||||||
|
|
||||||
string val;
|
string val;
|
||||||
_tempIgnoredPaths.TryRemove(path, out val);
|
_tempIgnoredPaths.TryRemove(path, out val);
|
||||||
|
|
Loading…
Reference in a new issue