use separate loop for pendingUpdates metric
use separate loop for pendingUpdates metric

sharelatex/document-updater-sharelatex,sharelatex/document-updater-sharelatex,sharelatex/document-updater-sharelatex