am e398d09a: am af75e48e: am 74577bed: Merge "Implement the heuristic for auto-commit."

* commit 'e398d09a50486d1b91ce109f4bd1a7529560c634':
  Implement the heuristic for auto-commit.