Skip to content

Commit

Permalink
increase delay duration (#733)
Browse files Browse the repository at this point in the history
Following CI/CD issues in synchronizing the node queue. I'm going to
increase the latency for pulling event from the side event queue.
  • Loading branch information
haixuanTao authored Dec 9, 2024
2 parents 9127d00 + f467c13 commit de8f8c6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions apis/rust/node/src/event_stream/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,7 @@ impl EventStream {
break;
}
} else {
match select(
Delay::new(Duration::from_nanos(10_000)),
self.receiver.next(),
)
.await
{
match select(Delay::new(Duration::from_micros(300)), self.receiver.next()).await {
Either::Left((_elapsed, _)) => break,
Either::Right((Some(event), _)) => self.scheduler.add_event(event),
Either::Right((None, _)) => break,
Expand Down

0 comments on commit de8f8c6

Please sign in to comment.