Re-subscribe failed domains on restart

parent f2c8968e
......@@ -60,6 +60,11 @@ class PubRelay::SubscriptionManager
inbox_url = URI.parse inbox_url
state = get_state(domain)
if state.failed?
transition_state(domain, :subscribed)
state = get_state(domain)
deliver_worker =
domain, inbox_url, @relay_domain, @private_key, @stats, self
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment