File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -732,7 +732,7 @@ process.on('uncaughtException', (err) =>
732732 } ,
733733 ]
734734
735- let changeStream = rtCollection . watch ( csPipeline , {
735+ const changeStream = rtCollection . watch ( csPipeline , {
736736 fullDocument : 'updateLookup' ,
737737 } )
738738
@@ -758,12 +758,9 @@ process.on('uncaughtException', (err) =>
758758 const v = convertValueVariant ( change . fullDocument )
759759 for ( let i = 0 ; i < servers . length ; i ++ ) {
760760 try {
761- let srv = servers [ i ]
761+ const srv = servers [ i ]
762762
763- //if (change.fullDocument.ungroupedDescription === 'Random')
764- // change.fullDocument.ungroupedDescription = 'Random'
765-
766- let m = srv . _metrics [ change . fullDocument ?. tag ]
763+ const m = srv . _metrics [ change . fullDocument ?. tag ]
767764 if ( m !== undefined ) {
768765 m . setValueFromSource (
769766 {
You can’t perform that action at this time.
0 commit comments