Defer Webhooks #7347
Unanswered
marijoo
asked this question in
Sanity Studio Support
Defer Webhooks
#7347
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
Sanity is a great tool and the only thing that is bugging me ever since I started using it is that it triggers a webhook everytime I hit the Save button. This may lead to useless builds if you do plenty of updates.
Having a Publish All button or a Deploy button that would save all the documents and trigger one single webhook could be one option but I understand this would come with a lot of problems for the UI etc.
I recently thought of having an option to defer the webhook itself. If there was an optional feature to say "Wait x seconds before triggering this webhook" where every other create/edit/delete action would restart the timer further delaying the webhook this could reduce the number of builds which is desirable economically as well as ecologically.
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions