https://slatedb.io logo
Are they handling retries?
# general
p
Are they handling retries?
x
Thank you for the interest of OpenDAL!
Yes, we do. OpenDAL has a useful abstraction called Layer, which allows us to implement features for services without modifying them, simply by developing a layer.
Based on this idea, we have nice RetryLayer: https://docs.rs/opendal/latest/opendal/layers/struct.RetryLayer.html For example:
Copy code
rust
use anyhow::Result;
use opendal::layers::RetryLayer;
use opendal::services;
use opendal::Operator;
use opendal::Scheme;

let _ = Operator::new(services::Memory::default())
    .expect("must init")
    .layer(RetryLayer::new());
p
Great, thanks, I’ll explore this today
x
Let me know if you need help.