mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-10 18:54:22 +01:00
bump max_loops to 100k
This commit is contained in:
@@ -758,7 +758,7 @@ impl WalFileShared {
|
||||
let header = if file.size()? > 0 {
|
||||
let wal_file_shared = sqlite3_ondisk::read_entire_wal_dumb(&file)?;
|
||||
// TODO: Return a completion instead.
|
||||
let mut max_loops = 1000;
|
||||
let mut max_loops = 100000;
|
||||
while !unsafe { &*wal_file_shared.get() }
|
||||
.loaded
|
||||
.load(Ordering::SeqCst)
|
||||
|
||||
Reference in New Issue
Block a user