Hello
I have the following webhook in place:
update Published post updated. http://localhost:3000/update Wed May 19 2021 16:21:44 GMT+0000
As you seen this webhook have been triggered at 16:21:44. But in my logs, I can see that it has been triggered TWO times:
2021-05-19 16:21:44: Connection GRANTED from ::ffff:127.0.0.1
2021-05-19 16:21:44: Webhook request to update dans-la-foret-dandapa
2021-05-19 16:21:44: 05/2009 Updating post dans-la-foret-dandapa
2021-05-19 16:21:44: Update process done
2021-05-19 16:21:44: Connection GRANTED from ::ffff:127.0.0.1
2021-05-19 16:21:44: Webhook request to update dans-la-foret-dandapa
2021-05-19 16:21:44: 05/2009 Updating post dans-la-foret-dandapa
2021-05-19 16:21:44: Post 60a53a2af9a73bb9b06ba768 is up to date
2021-05-19 16:21:44: Update process done
I know that the webhook is triggered five times if the system doesn’t get a ‘200’ code within 2 seconds. But in my case, I send back this code immediately and in the logs I see that both requests has been made at the same time.
Any idea why?