Sunday, September 18, 2016

Renew Token

I use to be able to make renew token call successfully in single thread environment.
But when it come to multiple threads environment, the same code that I write is not work as expected.
Due to multiple threads are calling parallel, so it make renew token call fail on some of the threads.
A simple solution is try to delay other threads to wait for the new token return.

No comments:

Post a Comment