diff --git a/.github/workflows/multichain-deploy-dev-nodes.yml b/.github/workflows/multichain-deploy-dev-nodes.yml index 9b1a57dd..6101ba1e 100644 --- a/.github/workflows/multichain-deploy-dev-nodes.yml +++ b/.github/workflows/multichain-deploy-dev-nodes.yml @@ -31,7 +31,7 @@ jobs: with: push: true file: ./Dockerfile.multichain - tags: "${{ env.IMAGE }}:${{ env.TAG }}" + tags: "${{ env.IMAGE }}:${{ env.TAG }},${{ env.IMAGE }}:latest" deploy: if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch' diff --git a/chain-signatures/node/src/protocol/mod.rs b/chain-signatures/node/src/protocol/mod.rs index 3e750390..e8f3b00d 100644 --- a/chain-signatures/node/src/protocol/mod.rs +++ b/chain-signatures/node/src/protocol/mod.rs @@ -214,7 +214,7 @@ impl MpcSignProtocol { let mut queue = MpcMessageQueue::default(); let mut last_state_update = Instant::now(); let mut last_config_update = Instant::now(); - let last_hardware_pull = Instant::now(); + let mut last_hardware_pull = Instant::now(); let mut last_pinged = Instant::now(); // Sets the latest configurations from the contract: @@ -233,6 +233,7 @@ impl MpcSignProtocol { // Hardware metric refresh if last_hardware_pull.elapsed() > Duration::from_secs(5) { update_system_metrics(&my_account_id); + last_hardware_pull = Instant::now(); } crate::metrics::PROTOCOL_ITER_CNT