Fill GitHub token pool on startup (#4987)

We're still seeing a few "Token pool is exhausted" errors at the moment the dynos are coming up. I'm wondering if this might help.

Ref #3771
This commit is contained in:
Paul Melnikow
2020-04-30 23:39:01 -04:00
committed by GitHub
parent b6c78a1110
commit f0030a4025

View File

@@ -441,7 +441,7 @@ class Server {
)
const { githubConstellation } = this
githubConstellation.initialize(camp)
await githubConstellation.initialize(camp)
if (metricInstance) {
if (this.config.public.metrics.prometheus.endpointEnabled) {
metricInstance.registerMetricsEndpoint(camp)