tari-project / tari-dan

BSD 3-Clause "New" or "Revised" License
5 stars 14 forks source link

fix(swarm): reuse allocated ports after restart #1056

Closed sdbondi closed 1 month ago

sdbondi commented 1 month ago

Description

uses previously allocated ports when restarting an instance

Motivation and Context

If an instance was stopped and started, it would receive new ports, causing other instances that may depend on the previous ports to break. This PR reuses the previously assigned ports for the instance on restart.

How Has This Been Tested?

Manually

What process can a PR reviewer use to test or verify this change?

Click stop then start on an instance, ports should remain the same.

Breaking Changes

github-actions[bot] commented 1 month ago

Test Results (CI)

538 tests  ±0   538 :white_check_mark: ±0   1h 53m 35s :stopwatch: - 27m 21s  64 suites ±0     0 :zzz: ±0    2 files   ±0     0 :x: ±0 

Results for commit bc207939. ± Comparison against base commit 0ebb1fb1.