Skip to content

Commit

Permalink
Remove duplicate comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
kinyoklion committed Jul 27, 2023
1 parent 8cd8501 commit e68ed18
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions packages/shared/sdk-server/src/MigrationOpTracker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,28 +40,14 @@ export default class MigrationOpTracker implements LDMigrationTracker {
this.operation = op;
}

/**
* Report that an error happened in either the 'new' or 'old' implementation.
*
* This just tracks errors that occur, not the details of the errors.
*/
error(origin: LDMigrationOrigin) {
this.errors[origin] = true;
}

/**
* Report if a consistency check was consistent, inconsistent, or not checked.
*/
consistency(result: LDConsistencyCheck) {
this.consistencyCheck = result;
}

/**
* Report the latency for an implementation.
*
* @param origin If the latency is for the 'old' or 'new' implementation.
* @param value The latency of the operation in milliseconds (TODO is it MS?).
*/
latency(origin: LDMigrationOrigin, value: number) {
this.latencyMeasurement[origin] = value;
}
Expand Down

0 comments on commit e68ed18

Please sign in to comment.