Skip to content

Conversation

@snowp
Copy link
Contributor

@snowp snowp commented Mar 25, 2025

No description provided.

To avoid potentially blocking for a long time, add a fixed timeout for
how long we'll block a log for
@FranAguilera FranAguilera force-pushed the blocking-log-timeout branch from a55b5bc to e521f5e Compare June 4, 2025 21:30
Revert "Trying to fix `logger.flush(true)`"

This reverts commit e521f5e.

Revert api changes
@FranAguilera FranAguilera force-pushed the blocking-log-timeout branch from e521f5e to af7043a Compare June 4, 2025 21:35
@FranAguilera FranAguilera requested a review from mattklein123 June 4, 2025 21:52
@FranAguilera FranAguilera marked this pull request as draft June 4, 2025 22:01
@FranAguilera
Copy link
Contributor

Still WIP

@FranAguilera FranAguilera changed the title add a timeout to the blocking log write [WIP] add a timeout to the blocking log write Jun 4, 2025
if let Some(rx) = completion_rx {
let handle = tokio::runtime::Handle::current();
let result = handle.block_on(async {
tokio::time::timeout(BLOCKING_FLUSH_TIMEOUT_SECONDS, rx.recv()).await
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pending to update here as well

@FranAguilera
Copy link
Contributor

FranAguilera commented Jun 17, 2025

this was really behind main and has tons of noise commits from me. Putting a new PR with the recent changes will link this one in description for future reference

@github-actions github-actions bot locked and limited conversation to collaborators Jun 17, 2025
@FranAguilera FranAguilera reopened this Jun 17, 2025
@mattklein123 mattklein123 deleted the blocking-log-timeout branch September 29, 2025 18:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants