make idle wait only as long as the next job wants to run

This commit is contained in:
holger krekel
2019-12-06 01:57:57 +01:00
parent 7c3fc251ff
commit 4a5e99c48e
6 changed files with 39 additions and 14 deletions

View File

@@ -491,7 +491,7 @@ pub fn dc_cmdline(context: &Context, line: &str) -> Result<(), failure::Error> {
println!("{:#?}", context.get_info());
}
"interrupt" => {
interrupt_inbox_idle(context, true);
interrupt_inbox_idle(context);
}
"maybenetwork" => {
maybe_network(context);