Skip to content

Commit

Permalink
Merge pull request #1860 from EspressoSystems/keyao/log-level
Browse files Browse the repository at this point in the history
Update loggings
  • Loading branch information
shenkeyao authored Oct 4, 2023
2 parents 5e848f9 + 8ce1a01 commit cc51fb8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/task-impls/src/da.rs
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ where
match result {
Err(_) => {
// Fall through below to updating new block
error!(
debug!(
"propose_max_round_time passed, sending transactions we have so far"
);
}
Expand Down
6 changes: 5 additions & 1 deletion crates/task-impls/src/view_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,8 @@ where

let name = format!(
"View Sync Replica Task: Attempting to enter view {:?} from view {:?}",
self.next_view, self.current_view
*view_number + 1,
*view_number
);

let replica_handle_event = HandleEvent(Arc::new(
Expand Down Expand Up @@ -801,6 +802,7 @@ where
let phase = self.phase.clone();
async move {
async_sleep(self.view_sync_timeout).await;
error!("Vote sending timed out in ViewSyncCertificateRecv");
stream
.publish(SequencingHotShotEvent::ViewSyncTimeout(
TYPES::Time::new(*self.next_view),
Expand Down Expand Up @@ -862,6 +864,7 @@ where
let stream = self.event_stream.clone();
async move {
async_sleep(self.view_sync_timeout).await;
error!("Vote sending timed out in ViewSyncTrigger");
stream
.publish(SequencingHotShotEvent::ViewSyncTimeout(
TYPES::Time::new(*self.next_view),
Expand Down Expand Up @@ -932,6 +935,7 @@ where
let stream = self.event_stream.clone();
async move {
async_sleep(self.view_sync_timeout).await;
error!("Vote sending timed out in ViewSyncTimeout");
stream
.publish(SequencingHotShotEvent::ViewSyncTimeout(
TYPES::Time::new(*self.next_view),
Expand Down

0 comments on commit cc51fb8

Please sign in to comment.