commitIfStaleChanges

fun commitIfStaleChanges(maximumChangeAgeMs: Long)

Commit the pending changes if they're more than the specified number of milliseconds old.

Parameters

maximumChangeAgeMs

The maximum age in milliseconds that we should leave changes uncommitted.