Skip to content

Commit 1e4eb6a

Browse files
committed
Allow for 0 maxSeconds
1 parent 5403bc1 commit 1e4eb6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/browser/replay/recorder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export default class Recorder {
7373
checkoutEveryNms() {
7474
// Recording may be up to two checkout intervals, therefore the checkout
7575
// interval is set to half of the maxSeconds.
76-
return ((this.options.maxSeconds || 10) * 1000) / 2;
76+
return ((this.options.maxSeconds ?? 10) * 1000) / 2;
7777
}
7878

7979
/**

0 commit comments

Comments
 (0)