From b4d1c465958e5c58fa615d64e4fb8ed072399599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Frosteg=C3=A5rd?= Date: Wed, 6 Apr 2022 02:23:06 +0200 Subject: [PATCH] Update TODO --- TODO.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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