fix action

This commit is contained in:
Peter Zhang 2025-07-07 23:07:03 +08:00
parent ff48a05166
commit 4dac3ce3ba
2 changed files with 3 additions and 3 deletions

View File

@ -8,11 +8,11 @@ runs:
sudo apt-get update sudo apt-get update
sudo apt-get install -y protobuf-compiler sudo apt-get install -y protobuf-compiler
- name: Install toolchain 1.78.0 - name: Install toolchain 1.80.0
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with:
profile: minimal profile: minimal
toolchain: 1.78.0 toolchain: 1.80.0
components: rustfmt, clippy components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2

View File

@ -390,7 +390,7 @@ impl<AppReqId: ReqId> Behaviour<AppReqId> {
.gossipsub .gossipsub
.publish(topic.clone().into(), message_data.clone()) .publish(topic.clone().into(), message_data.clone())
{ {
warn!(error = ?e, topic = ?topic.kind(), "Failed to publish message"); trace!(error = ?e, topic = ?topic.kind(), "Failed to publish message");
// add to metrics // add to metrics
if let Some(v) = metrics::get_int_gauge( if let Some(v) = metrics::get_int_gauge(