get refresh interval from config file