Resolve "Potential infinite loop in adapter with high frequency polling rate <=1s"
added 1 commit
- a3b46f66 - fix: return out of poll request whilst authing
added 1 commit
- 67116da8 - fix: race condition for auth on fast polling rates
It's currently a bit dirty - It catches the exception and returns an empty array of messages until the authentication is complete.
I'll refactor this so it fires an authInProgress method in the adapter which can be overridden by the user if required. That would mean the user can tell the difference between auth in progress and no messages on the queue.
added 1 commit
- 34898fb1 - feat: add stub method to capture auth in progress
added Project::MAS-DT Status::In Review labels
requested review from @trishna
mentioned in commit 93a91178
mentioned in issue backbone-adapter-javascript#30 (closed)
Please register or sign in to reply