Changed refreshWarningLimit to constant.