decred / dcrpool

decred mining pool
ISC License
29 stars 27 forks source link

gui: Create listener in GUI constructor. #377

Closed davecgh closed 1 year ago

davecgh commented 1 year ago

This creates the listener in the GUI constructor so any issues with listening will cause the entire pool to fail to start thereby allowing the admin to resolve any issues immediately.

jholdstock commented 1 year ago

Referring back to #371, I've confirmed that with this change the dcrpool process will now terminate if the GUI listen port is already in use