okpy / ok

ok.py supports programming projects by running tests, tracking progress, and assisting in debugging.
Apache License 2.0
336 stars 84 forks source link

Generate Sendgrid API key during Azure setup #1311

Closed c-w closed 6 years ago

c-w commented 6 years ago

We've been seeing some instability in production with the runtime creation of API keys approach. This is because of race conditions where one thread creates an API key and then at a later time another thread needs to re-create the key (e.g. due to the worker or pod crashing and being restarted) thus invalidating the first one.

Also: