microsoft / msopentech-tools-for-intellij

Plugin for easy and fast development to enable developers of Android Apps to connect to Office 365 services and Azure Mobile Services, and developers of Java middleware to connect to Azure compute services
Apache License 2.0
28 stars 34 forks source link

Review hard coded sleep in `MobileServiceRestManager.executePollRequest` #363

Closed avranju closed 8 years ago

avranju commented 9 years ago

There's a 2 second Thread.sleep in the executePollRequest method in the MobileServiceRestManager class. Two seconds seems like a really long wait. I wonder if we should perform the Thread.sleep only in response to a "too many requests received" error. Or maybe just reduce the sleep duration?

martinsawicki commented 8 years ago

obsolete