Skip to content

Commit

Permalink
improve: raise the hard size limit to 256MB to be anything practical
Browse files Browse the repository at this point in the history
  • Loading branch information
3p3r committed Apr 5, 2024
1 parent 9a4105e commit b61be32
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wasabio",
"version": "1.0.3",
"version": "1.1.0",
"description": "WebAssembly and SharedArrayBuffer IO. Pronounced 'wassabee-yo'.",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/fs/lfs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ fn disk() -> *mut lfs::lfs_t {
guard!(LFS_SYS_INIT_LOCK);
if unsafe { !INITIALIZED } {
INIT.call_once(|| unsafe {
let sizeMB = 10; // 10MB of in-memory storage. Cannot be resized.
let sizeMB = 256; // 256MB of in-memory storage. Cannot be resized.
lfs::lfs_sys_mount(sizeMB, Some(lock), Some(unlock));
let root = "/";
let c_root = CString::new(root).unwrap();
Expand Down

0 comments on commit b61be32

Please sign in to comment.