Closed leovido closed 6 years ago
Hmm, actually this solution might not be the best, as timeouts will prevent services from shutting down gracefully. I can refresh the provider in the getter
instead. That might be the best solution?
I've created an issue to track this! #2
After reading around this ticket from the APN repository, it seems that adding to the maximum listeners isn't quite enough, I'd recommend adding this fix!
I can implement this or you can, your call buddy. Thanks for the PR though!
We need to store a reference to the
connection
and update it with a new provider every hour.