jichenjc 36895437c5 Add handle 503 error from REST layer
REST API layer might return 503 error, this means server is
temply not available, instead just fail, we can retry the work
as our REST calls are sync call, so no harm to retry it

as we can't retry forever, add a retry max count so that at
last we will still fail out.

Change-Id: I1e484265d241c87d2f0060f0aaef19cb6314ed4f
2017-03-13 21:21:06 +08:00
..