mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-23 18:50:26 +00:00
extend directory watcher remove temp ignore delay
This commit is contained in:
@@ -67,7 +67,7 @@ namespace MediaBrowser.Server.Implementations.IO
|
||||
public async void RemoveTempIgnore(string path)
|
||||
{
|
||||
// This is an arbitraty amount of time, but delay it because file system writes often trigger events after RemoveTempIgnore has been called.
|
||||
await Task.Delay(1500).ConfigureAwait(false);
|
||||
await Task.Delay(2000).ConfigureAwait(false);
|
||||
|
||||
string val;
|
||||
_tempIgnoredPaths.TryRemove(path, out val);
|
||||
|
||||
Reference in New Issue
Block a user