MoneroOcean / nodejs-pool

Official repository of MoneroOcean (XMR) mining pool
https://moneroocean.stream
Other
116 stars 71 forks source link

Send mail if worker restarted. #94

Closed 1rV1N-git closed 5 years ago

1rV1N-git commented 5 years ago

Before fix about WorkerList if a worker died master thread died too. And after restart master thread sends mail with "Pool online". Now if we have a bug or something worker will be died in circles and we don't know about it.

MoneroOcean commented 5 years ago

Why we need "if (worker.id > 8){" here? I think this code executed in case of worker death anyway and this should be reported anyway.

MoneroOcean commented 5 years ago

Thank you!