diff --git a/TODO.md b/TODO.md index 115af5a..5e9e648 100644 --- a/TODO.md +++ b/TODO.md @@ -15,12 +15,12 @@ * rename request workers to swarm workers * quit whole program if any thread panics - * Once JoinHandle::is_finished is available in stable Rust (#90470) + * But it would be nice not to panic in workers, but to return errors instead. + Once JoinHandle::is_finished is available in stable Rust (#90470), an + option would be to * Save JoinHandles * When preparing to quit because of PanicSentinel sending SIGTERM, loop through them, extract error and log it - * Dont use std::process::exit unless worker thread destructors have already - been called * config: fail on unrecognized keys? * Run cargo-deny in CI