movio / bramble

A federated GraphQL API gateway
https://movio.github.io/bramble/
MIT License
497 stars 53 forks source link

Add sleep in Gateway.UpdateSchema #199

Closed nmaquet closed 1 year ago

nmaquet commented 1 year ago

Add a time.Sleep call to make the initialisation of the gateway more robust. In main(), UpdateSchemas() is called before the initialisation of the private router, so plugins have no chance to respond to schema update requests on the first try.