added configurable db pooling min max
added configurable interval