Merge pull request #1140 from tomaswolf/issue_1076 Issue #1076: load commit cache in a background thread