Skip to content

Commit

Permalink
unblock executor thread
Browse files Browse the repository at this point in the history
  • Loading branch information
Okm165 committed Jul 6, 2024
1 parent eef1eb1 commit 24daf82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/executor/src/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ impl Executor {
&& !job_record.is_empty()
{
if let Some(job) = job_record.take_job().await {
if let Some(event) = events_rx.recv().await {
if let Ok(event) = events_rx.try_recv() {
match event {
Event::Message { message, .. } => {
// Received a new-job message from the network
Expand Down

0 comments on commit 24daf82

Please sign in to comment.