few-activity-43960
07/18/2023, 10:27 AMmillions-activity-52391
07/18/2023, 10:27 AMkind-carpenter-27609
07/18/2023, 10:28 AMfew-activity-43960
07/18/2023, 10:28 AMfew-activity-43960
07/18/2023, 10:29 AMkind-carpenter-27609
07/18/2023, 10:29 AMkind-carpenter-27609
07/18/2023, 10:31 AMkind-carpenter-27609
07/18/2023, 10:31 AMfew-activity-43960
07/18/2023, 10:33 AMfew-activity-43960
07/21/2023, 2:08 PMkind-carpenter-27609
07/24/2023, 7:40 AMfew-activity-43960
07/24/2023, 7:57 AMfew-activity-43960
07/24/2023, 8:45 AMkind-carpenter-27609
07/25/2023, 5:40 AMsleepCount (Minimum waiting time to flush events to the Server since last request) using the withFlushQueueSize() , withSleepCount() APIs of RudderConfigBuilder respectively to define how frequently SDK flushes events to the Server.
SDK would flush the events to the server when either of the below conditions become true:
1. SDK has received flushQueueSize number of events already and stored them in its internal DB.
2. It has been sleepCount number of seconds since the last request made to the Rudderstack Server.
The lower you set them, faster and greater the number of network requests are made by the SDK. So you should be very careful about setting both the above config values.
Android docs: https://www.rudderstack.com/docs/sources/event-streams/sdks/rudderstack-android-sdk/#configuring-your-rudderstack-client
iOS docs: https://www.rudderstack.com/docs/sources/event-streams/sdks/rudderstack-android-sdk/#configuring-your-rudderstack-clientfew-activity-43960
07/25/2023, 6:33 AMfew-activity-43960
07/25/2023, 7:25 AMwithSleepcount= 10 seconds and withFlushQueueSize = 30. Not sure which of these 2 parameters could lead to a 3-4 days delay, maybe the second one, if we suppose that the user does not generate 30 events and the SDK, waited to reach that amount before sending the batch to the server.kind-carpenter-27609
07/25/2023, 7:27 AMfew-activity-43960
07/25/2023, 8:38 AMkind-carpenter-27609
07/25/2023, 3:09 PM