mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-31 04:05:50 -04:00
update file options
This commit is contained in:
parent
b9935a4643
commit
5b12e9fa33
@ -357,9 +357,7 @@ namespace SocketHttpListener.Net
|
|||||||
// allowAsync = true;
|
// allowAsync = true;
|
||||||
//}
|
//}
|
||||||
|
|
||||||
var fileOpenOptions = offset > 0
|
var fileOpenOptions = FileOpenOptions.SequentialScan;
|
||||||
? FileOpenOptions.RandomAccess
|
|
||||||
: FileOpenOptions.SequentialScan;
|
|
||||||
|
|
||||||
if (allowAsync)
|
if (allowAsync)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user