diff --git a/geekorm-core/src/backends/libsql.rs b/geekorm-core/src/backends/libsql.rs index f5d2de6..d6b4019 100644 --- a/geekorm-core/src/backends/libsql.rs +++ b/geekorm-core/src/backends/libsql.rs @@ -391,7 +391,7 @@ where match connection.try_lock() { Ok(conn) => return C::create_table::(&conn).await, Err(_) => { - std::thread::sleep(std::time::Duration::from_millis(100)); + std::thread::sleep(std::time::Duration::from_millis(10)); } } } @@ -409,7 +409,7 @@ where match connection.try_lock() { Ok(conn) => return C::row_count(&conn, query).await, Err(_) => { - std::thread::sleep(std::time::Duration::from_millis(100)); + std::thread::sleep(std::time::Duration::from_millis(10)); } } } @@ -430,7 +430,7 @@ where match connection.try_lock() { Ok(conn) => return C::query::(&conn, query).await, Err(_) => { - std::thread::sleep(std::time::Duration::from_millis(100)); + std::thread::sleep(std::time::Duration::from_millis(10)); } } } @@ -452,7 +452,7 @@ where match connection.try_lock() { Ok(conn) => return C::query_first::(&conn, query).await, Err(_) => { - std::thread::sleep(std::time::Duration::from_millis(100)); + std::thread::sleep(std::time::Duration::from_millis(10)); } } } @@ -473,7 +473,7 @@ where match connection.try_lock() { Ok(conn) => return C::execute::(&conn, query).await, Err(_) => { - std::thread::sleep(std::time::Duration::from_millis(100)); + std::thread::sleep(std::time::Duration::from_millis(10)); } } }