maxLength of history as config var #135