Skip to content

Commit

Permalink
Update lib/xandra/retry_strategy.ex
Browse files Browse the repository at this point in the history
Co-authored-by: Andrea Leopardi <[email protected]>
  • Loading branch information
harunzengin and whatyouhide committed Sep 26, 2023
1 parent b23202e commit d3b629a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/xandra/retry_strategy.ex
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,7 @@ defmodule Xandra.RetryStrategy do
:error | {:retry, new_options :: keyword, new_state :: state}

@doc false
@spec run_with_retrying(keyword, (-> result)) :: result
when result: var
@spec run_with_retrying(keyword, (-> result)) :: result when result: var
def run_with_retrying(options, fun) do
options = Keyword.put(options, :execution_level, :xandra)

Expand Down

0 comments on commit d3b629a

Please sign in to comment.