* Reduce DB history * Configurable history size * Set min history size * Test * Fixed a test and reduced the limit