4 ms·
I would recommend switching to their Events API. Webhooks are great until they aren’t. Querying the Events API means you are able to resume if GitHub, your netw
by leipert 5y ago
I would recommend switching to their Events API. Webhooks are great until they aren’t. Querying the Events API means you are able to resume if GitHub, your network or your Raspberry Pi was down.
And bonus, your pi doesn’t need to be exposed to the world.
- bob1029 5y agoLearned this one the hard way. Events are definitely the way to go. You can guarantee perfect synchronization of state if you use it carefully (i.e. as a log you replay as needed).
- aschmelyun 5y agoOoh, that's good to know. I'll keep that in mind for Version 2!
- throwra620 5y ago
- daenz 5y agoPull vs push? Why not both! Then you'll get the benefits of low latency and robustness.