diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2021-01-28 13:24:06 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2021-01-28 13:24:06 -0500 |
commit | b1350e407fde35caf67dcc799948e2808f9e9b6d (patch) | |
tree | d4d30ecfad57b91d4500785fdc8cee2688ba4c4b /org/spine.org | |
parent | nix build -f default.nix, experimental (diff) |
spine, parallelization logic fix
Diffstat (limited to 'org/spine.org')
-rw-r--r-- | org/spine.org | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/org/spine.org b/org/spine.org index 30a08f5..5267a3c 100644 --- a/org/spine.org +++ b/org/spine.org @@ -732,12 +732,13 @@ struct OptActions { } @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 |