File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
src/mesh/agents/state/history Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -955,19 +955,11 @@ class HistorySynchronizer {
955955 try {
956956
957957 // throws if validation fails
958- const t1 = Date . now ( )
959958 await HashedObject . fromContextWithValidation ( reqInfo . receivedObjects as Context , literal . hash ) ;
960- const t2 = Date . now ( )
961-
962- console . log ( 'validated ' + literal . hash + ' in ' + ( t2 - t1 ) + 'ms' )
963959
964960 reqInfo . nextOpSequence = reqInfo . nextOpSequence as number + 1 ;
965961
966- const s1 = Date . now ( )
967962 await this . syncAgent . store . saveWithContext ( literal . hash , reqInfo . receivedObjects as Context ) ;
968- const s2 = Date . now ( )
969-
970- console . log ( 'saved ' + literal . hash + ' in ' + ( s2 - s1 ) + 'ms' )
971963
972964 // FIXME: there's no validation of the op matching the actual causal history op
973965 // TODO: validate, remove op and all history following if op does not match
@@ -1415,8 +1407,7 @@ class HistorySynchronizer {
14151407 }
14161408
14171409 HeaderBasedSyncAgent . controlLog . debug ( '\n' + this . logPrefix + '\n' + detail ) ;
1418-
1419- console . log ( 'cleaning up due to cancelling' )
1410+
14201411 this . cleanupRequest ( reqInfo ) ;
14211412
14221413 const msg : CancelRequestMsg = {
You can’t perform that action at this time.
0 commit comments