HISTORIC: DB_HISTORY_NUM_DAYS must be of type integer

also set default value to 3 days