Skip to content

Commit 6395932

Browse files
committed
migration should lower the metrics offset
1 parent 461fb66 commit 6395932

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

IntelPresentMon/AppCef/Web/src/core/preferences.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,11 @@ const migrations: Migration[] = [
145145
{
146146
version: '0.18.0',
147147
migrate: (prefs: Preferences) => {
148-
console.info('Migrating preferences to 0.18.0 (manualEtwFlush enable/rate)');
148+
console.info('Migrating preferences to 0.18.0 (manualEtwFlush enable/rate, lower offset)');
149149
const def = makeDefaultPreferences();
150150
prefs.manualEtwFlush = def.manualEtwFlush;
151151
prefs.etwFlushPeriod = def.etwFlushPeriod;
152+
prefs.metricsOffset = def.metricsOffset;
152153
}
153154
},
154155
];

0 commit comments

Comments
 (0)