From b1350e407fde35caf67dcc799948e2808f9e9b6d Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Thu, 28 Jan 2021 13:24:06 -0500 Subject: spine, parallelization logic fix --- src/doc_reform/spine.d | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/doc_reform/spine.d b/src/doc_reform/spine.d index 6e03f3d..cbd7b0e 100755 --- a/src/doc_reform/spine.d +++ b/src/doc_reform/spine.d @@ -456,12 +456,13 @@ string program_name = "spine"; } @trusted bool parallelise() { bool _is; - if (opts["parallel"] == true) { + if (opts["serial"] == true) { + _is = false; + } else if (sqlite_shared_db_action) { + _is = false; + } else if (opts["parallel"] == true) { _is = true; if (sqlite_shared_db_action) { _is = false; } - } else if (opts["parallel"] == false - && opts["serial"] == true) { - _is = false; } else if ( opts["abstraction"] || concordance -- cgit v1.2.3