bitcoin-sv / alert-system

Alert System Microservice
Other
3 stars 1 forks source link

[Bug]: If interrupt signal is received on startup during peer discovery, service doesn't stop #37

Closed galt-tr closed 7 months ago

galt-tr commented 7 months ago

What happened?

Server doesn't shut down properly when an interrupt signal is received during the initial peer discovery process. Peer discovery continues until the timeout is achieved.

How can we reproduce this?

Start the system up with topic_name: <fake-topic> so that the server doesn't find any peers during initial peer discovery. Send an interrupt signal <ctrl>-c and notice the server doesn't stop.

Search

Code of Conduct

Additional context

No response

galt-tr commented 7 months ago

Still seeing this problem on v0.1.0