dbt-databricks icon indicating copy to clipboard operation
dbt-databricks copied to clipboard

Apply connection retry refactor, add defaults with exponential backoff

Open ueshin opened this issue 3 years ago • 1 comments

Description

Applies connection retry refactor, add defaults with exponential backoff as per an item from #127.

  • Refactors retry logic to use retry_connection from core.
  • Adds consistent defaults with other adpaters:
    • if connect_retries and connect_timeout are not specified: 1 retry after 1s
    • if connect_retries is specified but connect_timeout is not, it will use exponential backoff

ueshin avatar Jul 22 '22 21:07 ueshin

Thanks a lot! Our team is eagerly waiting for this feature!

xg1990 avatar Aug 11 '22 00:08 xg1990

Thanks! merging.

ueshin avatar Dec 21 '22 22:12 ueshin