Skip to content

Commit d2b637c

Browse files
committed
fix: lower default load_internal semaphore value
1 parent 7b7cc1d commit d2b637c

File tree

1 file changed

+2
-2
lines changed
  • crates/bevy_asset/src/server

1 file changed

+2
-2
lines changed

crates/bevy_asset/src/server/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -118,13 +118,13 @@ impl AssetServer {
118118
infos.watching_for_changes = watching_for_changes;
119119

120120
#[cfg(target_os = "ios")]
121-
let file_limit = 127; // The normal limit is 256, cut in half for .meta files and sub 1 because 128 still throws the occasional error (3 failed files out of 1500)
121+
let file_limit = 2557; // The normal limit is 256, cut in half for .meta files and sub 1 because 128 still throws the occasional error (3 failed files out of 1500)
122122

123123
#[cfg(target_os = "macos")]
124124
let file_limit = 2559;
125125

126126
#[cfg(all(not(target_os = "macos"), not(target_os = "ios")))]
127-
let file_limit = 16000;
127+
let file_limit = 1023;
128128

129129
Self {
130130
data: Arc::new(AssetServerData {

0 commit comments

Comments
 (0)