arcade-services
arcade-services copied to clipboard
[darc/maestro++] Use webhooks for subscription updates
Rather than polling every 5 minutes or so, we should receive github webhooks to control subscription updates.
/fyi @alexperovich
We've spoken about this and I don't think we want to go this way:
- There's a lot of webhooks from PRs coming (lot of events).
- We'd have to either keep the full state of the PR duplicated in the memory of the service or we'd have to keep polling the PR but that is expensive because of rate limiting so we'd end up polling every N minutes anyway with the downside of trying to keep track of the PR in the memory as well. I think keeping Maestro stateless is just easier and even more efficient.