Make "Flush Interval" configurable.

This patch adds a new configuration variable that makes it possible to
control the interval after which any pending bulk actions should be
flushed.