Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
loader: stop retry execute sqls when closed (#691)
* update RetryNnError * add isClosed function * fix check * use context * add context for execute * replace some context.Background() with loader's ctx * fmt * fix test * add todo * fix test * minor update * remove ctx when execute sql
- Loading branch information
1 parent
eaf6146
commit d5f9ccf
Showing
4 changed files
with
33 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters