Skip to content

Commit

Permalink
Merge pull request #10 from gattaca-com/develop
Browse files Browse the repository at this point in the history
improve sleep skipping logs
  • Loading branch information
gd-0 authored Jan 25, 2024
2 parents e324df5 + c53cc1b commit 8733895
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions crates/api/src/proposer/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -627,13 +627,11 @@ where
sleep(Duration::from_millis(remaining_sleep_ms)).await;
}
} else if !is_mainnet {
info!(request_id = %request_id, "not on mainnet, not pausing execution");
info!(request_id = %request_id, "not on mainnet, skipping sleep before returning payload");
} else {
info!(request_id = %request_id, "proposer is not trusted, not pausing execution");
info!(request_id = %request_id, "proposer is trusted, skipping sleep before returning payload");
}



// Return response
info!(request_id = %request_id, trace = ?trace, timestamp = get_nanos_timestamp()?, "delivering payload");
Ok(get_payload_response)
Expand Down

0 comments on commit 8733895

Please sign in to comment.