microsoft / azdo-databricks

A set of Build and Release tasks for Building, Deploying and Testing Databricks notebooks
MIT License
25 stars 31 forks source link

Waiting Task : Allow the possibility to configure delay in the while loop #15

Open Isarien opened 4 years ago

Isarien commented 4 years ago

Sometimes Waiting task fail with "temporarily unavailable error" :

Error: b'{"error_code":"TEMPORARILY_UNAVAILABLE","message":"The service at /api/2.0/jobs/runs/get is temporarily unavailable. Please try again later."}'

I think API call are to close and cause this error. In my case there is one second between each call.

Giving the possibility to adjust a delay will be a good thing