Added prefetch
This commit is contained in:
@@ -63,7 +63,10 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
if let Err(e) = c.get_attr("/").await {
|
||||
return Err(format!("Failed to authenticate or connect to server: {}", e).into());
|
||||
}
|
||||
|
||||
|
||||
// Auth verified — start background snapshot + watch sync
|
||||
c.start_background_sync();
|
||||
|
||||
Ok::<_, Box<dyn std::error::Error>>(c)
|
||||
})?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user