gossamer
gossamer copied to clipboard
Node fails to shut down before min peers are connected
Describe the bug
Shutting down the node before it has reached the configured minimum number of peers hangs.
Expected Behavior
The node can be shut down cleanly, regardless of the configured minimum number of peers.
Current Behavior
The process does not terminate.
To Reproduce
Steps to reproduce the behaviour:
-
gossamer --chain westend --min-peers 40
- wait a few seconds
- stop process with
Ctrl-C
Specification
- go version:
1.23.2
- gossamer version:
development
- gossamer commit hash:
528d378f9f3e5ed3a596fb2c55a0993631292139