message: chore: Tweak sync action notify interval
diff: @@ -42,7 +42,8 @@ pub const SEND_GET_HEADERS_TOKEN: u64 = 0;
  pub const BLOCK_FETCH_TOKEN: u64 = 1;
  pub const TIMEOUT_EVICTION_TOKEN: u64 = 2;
  pub const NO_PEER_CHECK_TOKEN: u64 = 255;
  -const SYNC_NOTIFY_INTERVAL: Duration = Duration::from_millis(100);
  +const SYNC_NOTIFY_INTERVAL: Duration = Duration::from_millis(200);
  +const BLOCK_FETCH_INTERVAL: Duration = Duration::from_millis(400);
  bitflags! {
  pub struct BlockStatus: u32 {
  @@ -494,8 +495,8 @@ impl<CS: ChainStore> CKBProtocolHandler for Synchronizer<CS> {
  fn init(&mut self, nc: Arc<dyn CKBProtocolContext + Sync>) {
  // NOTE: 100ms is what bitcoin use.
  nc.set_notify(SYNC_NOTIFY_INTERVAL, SEND_GET_HEADERS_TOKEN);
  - nc.set_notify(SYNC_NOTIFY_INTERVAL, BLOCK_FETCH_TOKEN);
  nc.set_notify(SYNC_NOTIFY_INTERVAL, TIMEOUT_EVICTION_TOKEN);
  + nc.set_notify(BLOCK_FETCH_INTERVAL, BLOCK_FETCH_TOKEN);
  nc.set_notify(Duration::from_secs(2), NO_PEER_CHECK_TOKEN);
  }
  