fixed max file opened limit

This commit is contained in:
2026-05-29 20:20:40 +01:00
parent 414e416ce2
commit 75b3055691
3 changed files with 1 additions and 0 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1
View File
@@ -65,6 +65,7 @@ async fn main() {
drop(pingscores); drop(pingscores);
let mut file = fs::OpenOptions::new().write(true).truncate(true).open("pingscores.json").unwrap(); let mut file = fs::OpenOptions::new().write(true).truncate(true).open("pingscores.json").unwrap();
file.write_all(file_contents.as_bytes()).unwrap(); file.write_all(file_contents.as_bytes()).unwrap();
file.flush().unwrap();
} }
} }
); );