mixpanel / mixpanel-utils

Other
85 stars 62 forks source link

export hits rate limits #13

Closed 34code closed 6 years ago

34code commented 6 years ago

current: people export runs into rate limits from server expected: should export as advertised

jaredmixpanel commented 6 years ago

@34code you can lower the read_pool_size parameter to prevent running into rate limits, setting it to 2 or 3 will usually keep it slow enough to avoid the rate limits...

mp = Mixpanel(api_secret, read_pool_size=3)

We will consider lowering the default read_pool_size to prevent this out of the box. The current default is 2 * multiprocessing.cpu_count()

34code commented 6 years ago

@jaredmixpanel thanks! I ran it on a 12 core machine :| (helpful to know how to configure)