added interval feature for logdb worker