Skip to content

Commit

Permalink
Reduce CC API rate limit in Ireland to 20k
Browse files Browse the repository at this point in the history
The previous limit in Ireland - 55k - was deliberately inflated to accommodate
a very heavy usage deployment of `paas-prometheus-exporter` that was running
the region. Since then, the exporter has been made less chatty
(alphagov/paas-prometheus-exporter#29), causing the
deployment in question to drop to a more manageable number of calls per hour.
However, we forgot to reduce the rate limit once the fix was in place. This
commit resolves that outstanding action.

The figure of 20k/h is informed by this Kibana chart [1], which shows the top
non-admin CC api caller to be making 15k/h. I've chosen 20k here to allow some
wiggle room.

[1] https://kibana.logit.io/s/665ca355-efc3-46a2-96cf-21d31a5305bb/goto/8e10b7eb77da26e444553501aa70f56a
  • Loading branch information
AP-Hunt committed Oct 31, 2019
1 parent edbd9f6 commit b5b482d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/cf-manifest/env-specific/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ api_instances: 6
doppler_instances: 24
log_api_instances: 6
adapter_instances: 2
cc_hourly_rate_limit: 55000
cc_hourly_rate_limit: 20000
paas_region_name: ireland

0 comments on commit b5b482d

Please sign in to comment.