beginner-corp/slack

Support request retry

CharlieHess opened this issue · 4 comments

Consider wrapping requests in something like node-retry for more reliability in unstable network conditions. For clients in production the alternative is to wrap every slack.api call in something similar, so it might make sense to plug it in here.

I have never seen a network request fail in the manner described in two years of production use—are you getting 500s from Slack or?

No, not 500s. 😝 Try disconnecting your wifi intermittently during a request, changing wifi networks, switching to a network with active throttling enabled or 2G.

Ok, I like that feature but do think its an app level concern not something for this library should do. (Seems like a clientside concern given the examples.)

That's a fair response. 👍