Add a new config param to allow setting slave lag threshold