screwdriver
screwdriver copied to clipboard
Multiple events are created when scm response is slow.
What happened:
When we enable queueWebhook
feature and the scm response is slow(e.g. because of high load), multiple webhook triggered events are created.
If the scm response is slow, API requests to /v4/processHooks
may take a long time and time out.
If the request is timeout, it will be retried by client(screwdriver-request).
This will result in multiple event creation.
What you expected to happen: A single event is created even if the scm response is slow.
How to reproduce it: