You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #98921 from RandomShaper/win_many_files
Raise the number of file handles on Windows
This commit is contained in:
@@ -525,6 +525,9 @@ void FileAccessWindows::initialize() {
|
|||||||
invalid_files.insert(reserved_files[reserved_file_index]);
|
invalid_files.insert(reserved_files[reserved_file_index]);
|
||||||
reserved_file_index++;
|
reserved_file_index++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_setmaxstdio(8192);
|
||||||
|
print_verbose(vformat("Maximum number of file handles: %d", _getmaxstdio()));
|
||||||
}
|
}
|
||||||
|
|
||||||
void FileAccessWindows::finalize() {
|
void FileAccessWindows::finalize() {
|
||||||
|
|||||||
Reference in New Issue
Block a user