69 points · by rumcajz · 11y ago · 16 comments
Deadline: finish at 7:15:35PM.
The advantage of deadlines is that you can define a fixed deadline and then re-use it for any number of calls, without having to subtract the time already spent in previous calls.
Basically, deadline is a context-free timeout.
Kong is a cool product, but Kong spam from a couple of accounts [1] on HN is getting tiresome. (Maybe it's just that I look through the comments of most stories to do with APIs.)
https://hn.algolia.com/?query=mashape%2Fkong&sort=byPopulari...