Add configuration variable for duration, and increase default.

Change-Id: I15e3432bdd21e14c036d4155543edef058b65db4