apiInterval top-level constant

int const apiInterval

Planning Center limits requests to 100 requests per 20 seconds That's 200 milliseconds per request, so we force every request to wait 201 milliseconds after the previous request before execution.

Implementation

const int apiInterval = 201;