Second try at configurable backlog thresholds
Merge pull request #776 from Singly/bg-backlog-thresholds-again

Second try at configurable backlog thresholds