aboutsummaryrefslogtreecommitdiffstats
path: root/lifeboat.1
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-06-04 17:16:46 +0200
committerWynn Wolf Arbor2020-06-04 17:16:46 +0200
commit777add8b775e36d8ebbe057ad84e8b691c7e86c7 (patch)
tree1420f215d4d5f80b01555f20f294252d075b1233 /lifeboat.1
parente58da98d30ba8b739bd4f3d05589899673426ca8 (diff)
downloadlifeboat-777add8b775e36d8ebbe057ad84e8b691c7e86c7.tar.gz
Simplify and improve sync_default
sync_default() suffers from needlessly complicated logic in its threshold test. Join the two if clauses together and skip targets cleanly by using `continue` instead. Where possible, use OR lists instead of if clauses and also inline the whole sync_single() function, which was only called from here.
Diffstat (limited to 'lifeboat.1')
0 files changed, 0 insertions, 0 deletions