You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature request: timeout support for IO operations #1288
Is your feature request related to a problem or challenge?
Hi team, checking the spec, I found there're actually timeout requirements for operations.
Take "commit.retry.total-timeout-ms" as an example, my understanding is, it's the timeout we should respect when transaction::commit should respect.
But I don't see any "timeout" or "commit.retry.total-timeout-ms" in the code;
I'm wondering if we should and could support that?
Describe the solution you'd like
Asked chatgpt, seems we could set timeout via
use std::time::Duration;use tokio::time;asyncfnmy_async_function() -> Result<(),&'staticstr>{// Simulate some work
tokio::time::sleep(Duration::from_secs(2)).await;Ok(())}#[tokio::main]asyncfnmain(){let result = time::timeout(Duration::from_secs(1),my_async_function()).await;// other code}
This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.
Activity
github-actions commentedon Oct 30, 2025
This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.
github-actions commentedon Nov 14, 2025
This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'
fix(storage-opendal): add TimeoutLayer inside RetryLayer to bound han…