Skip to content

Commit c3fac41

Browse files
committed
update jsdocs
1 parent fb8be13 commit c3fac41

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/replay-internal/src/types/replay.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,10 @@ export interface ReplayPluginOptions extends ReplayNetworkOptions {
180180
/**
181181
* The min. duration (in ms) a replay has to have before it is sent to Sentry.
182182
* Whenever attempting to flush a session that is shorter than this, it will not actually send it to Sentry.
183-
* Note that this is capped at max. 15s.
183+
* Note that this is capped at max. 50s, so we don't unintentionally drop buffered replays that are longer than 60s
184+
*
185+
* Warning: Setting this to a higher value can result in unintended drops of onError-sampled replays.
186+
*
184187
*/
185188
minReplayDuration: number;
186189

0 commit comments

Comments
 (0)