mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
add delay for webhook race condition
This commit is contained in:
parent
c988171f09
commit
8f09a165e2
@ -95,6 +95,10 @@ namespace Bit.Billing.Controllers
|
||||
}
|
||||
else
|
||||
{
|
||||
// A race condition is happening between the time of purchase and receiving this webhook. Add some
|
||||
// artificial delay here to help combat that.
|
||||
await Task.Delay(2000);
|
||||
|
||||
// org
|
||||
if(ids.Item1.HasValue)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user