Expose constant SKIP_TIME_THRESHOLD as inactivePeriodThreshold in replayer (#1408)
Expose constant SKIP_TIME_THRESHOLD as `inactivePeriodThreshold` config setting in replayer
This commit is contained in:
@@ -114,7 +114,7 @@
|
||||
const totalEvents = context.events.length;
|
||||
const start = context.events[0].timestamp;
|
||||
const end = context.events[totalEvents - 1].timestamp;
|
||||
const periods = getInactivePeriods(context.events);
|
||||
const periods = getInactivePeriods(context.events, replayer.config.inactivePeriodThreshold);
|
||||
// calculate the indicator width.
|
||||
const getWidth = (
|
||||
startTime: number,
|
||||
|
||||
Reference in New Issue
Block a user