Skip to content

Commit 1574af5

Browse files
committed
Allow for 0 maxSeconds
1 parent 2542736 commit 1574af5

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
@@ -97,7 +97,7 @@ export default class Recorder {
9797
* @returns {number} Checkout interval in milliseconds
9898
*/
9999
checkoutEveryNms() {
100-
return ((this.options.maxSeconds || 10) * 1000) / 2;
100+
return ((this.options.maxSeconds ?? 10) * 1000) / 2;
101101
}
102102

103103
/**

0 commit comments

Comments
 (0)