Skip to content

Commit f729835

Browse files
Update flush policies to include overriding standard policies
1 parent dee3afd commit f729835

File tree

1 file changed

+2
-0
lines changed
  • src/connections/sources/catalog/libraries/mobile/react-native

1 file changed

+2
-0
lines changed

src/connections/sources/catalog/libraries/mobile/react-native/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,8 @@ Segment has several standard Flush Policies:
351351
- `CountFlushPolicy` triggers when you reach a certain number of events
352352
- `TimerFlushPolicy` triggers on an interval of milliseconds
353353
- `StartupFlushPolicy` triggers on client startup only
354+
> info ""
355+
> Implementing custom flush policies will replace the default Count and Timer policies provided by Segment. To incorporate custom policies, ensure to explicitly add the Timer and Count policies to the client's Flush Policies configuration if needed.
354356
355357
### Adding or removing policies
356358
One of the main advantages of Flush Policies is that you can add and remove policies on the fly. This is very powerful when you want to reduce or increase the amount of flushes.

0 commit comments

Comments
 (0)