generated from lucas/rust-template
Previously if one of the threads other than the server failed, it would log the error but continue to run in a broken state. So instead this makes sure than if any thread finishes the whole application stops. Since all worker threads should always wait indefinitely for more work, this should only happen if one of them bails on an error. |
||
---|---|---|
.. | ||
worker | ||
main.rs | ||
types.rs |