Skip to content

Commit 924beeb

Browse files
Merge pull request #6473 from segmentio/ashton-huxtable-patch-2
Update flush policies to include overriding standard policies
2 parents dee3afd + f7a7be1 commit 924beeb

File tree

1 file changed

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

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,10 @@ Segment has several standard Flush Policies:
352352
- `TimerFlushPolicy` triggers on an interval of milliseconds
353353
- `StartupFlushPolicy` triggers on client startup only
354354

355+
> info ""
356+
> If you implement custom flush policies, they replace Segment's default Count and Timer policies. To incorporate custom policies, add your custom Timer and Count policies to the client's Flush Policies configuration.
357+
358+
355359
### Adding or removing policies
356360
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.
357361
For example you might want to disable flushes if you detect the user has no network:

0 commit comments

Comments
 (0)