sql_serializer: do not break massive sync unless the head block is reached
psql-index-threshold should be used only to recall massive sync after reaching headlock and enable indexes, or after a restart of haf to decide if is better to stay with live sync or move to massive sync
Edited by Dan Notestein