mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
adjust fileshare
This commit is contained in:
parent
d78e2764d8
commit
7d36543318
@ -637,7 +637,11 @@ namespace MediaBrowser.Api.Images
|
|||||||
ResponseHeaders = headers,
|
ResponseHeaders = headers,
|
||||||
ContentType = imageResult.Item2,
|
ContentType = imageResult.Item2,
|
||||||
IsHeadRequest = isHeadRequest,
|
IsHeadRequest = isHeadRequest,
|
||||||
Path = imageResult.Item1
|
Path = imageResult.Item1,
|
||||||
|
|
||||||
|
// Sometimes imagemagick keeps a hold on the file briefly even after it's done writing to it.
|
||||||
|
// I'd rather do this than add a delay after saving the file
|
||||||
|
FileShare = FileShare.ReadWrite
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user