Skip to content

Instantly share code, notes, and snippets.

@scattered-code
Created March 14, 2022 18:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scattered-code/04448f69f8471a6c4683537b0708fb3f to your computer and use it in GitHub Desktop.
Save scattered-code/04448f69f8471a6c4683537b0708fb3f to your computer and use it in GitHub Desktop.
while (!RunningRequests.TryAdd(HttpContext.Connection.RemoteIpAddress.ToString(), true)) await Task.Delay(3000, ct);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment