Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: report failed reads and do not block on empty queuing port #10

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

dadada
Copy link
Collaborator

@dadada dadada commented Nov 7, 2024

No description provided.

@dadada dadada requested a review from sevenautumns November 7, 2024 14:02
sevenautumns
sevenautumns previously approved these changes Nov 8, 2024
@@ -36,11 +36,14 @@ impl<S: ApexSamplingPortP4> RouterOutput for SamplingPortSource<S> {

impl<Q: ApexQueuingPortP4> RouterInput for QueuingPortReceiver<Q> {
fn receive<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8], PortError> {
let timeout = SystemTime::Normal(Duration::from_micros(10));
let timeout = SystemTime::Normal(Duration::from_secs(0));
Copy link
Contributor

Choose a reason for hiding this comment

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

@sevenautumns sevenautumns merged commit b54c0d8 into main Nov 8, 2024
6 checks passed
@sevenautumns sevenautumns deleted the dev/report-failed-reads branch November 8, 2024 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants