Add retry mechanism on saving tasks to history collection
parent
a6ed68a5
No related branches found
No related tags found
Showing
- go.mod 1 addition, 0 deletionsgo.mod
- go.sum 2 additions, 0 deletionsgo.sum
- internal/executor/worker.go 0 additions, 1 deletioninternal/executor/worker.go
- internal/storage/storage.go 8 additions, 2 deletionsinternal/storage/storage.go
- vendor/github.com/cenkalti/backoff/v4/.gitignore 0 additions, 0 deletionsvendor/github.com/cenkalti/backoff/v4/.gitignore
- vendor/github.com/cenkalti/backoff/v4/.travis.yml 0 additions, 0 deletionsvendor/github.com/cenkalti/backoff/v4/.travis.yml
- vendor/github.com/cenkalti/backoff/v4/LICENSE 0 additions, 0 deletionsvendor/github.com/cenkalti/backoff/v4/LICENSE
- vendor/github.com/cenkalti/backoff/v4/README.md 0 additions, 0 deletionsvendor/github.com/cenkalti/backoff/v4/README.md
- vendor/github.com/cenkalti/backoff/v4/backoff.go 0 additions, 0 deletionsvendor/github.com/cenkalti/backoff/v4/backoff.go
- vendor/github.com/cenkalti/backoff/v4/context.go 0 additions, 0 deletionsvendor/github.com/cenkalti/backoff/v4/context.go
- vendor/github.com/cenkalti/backoff/v4/exponential.go 0 additions, 0 deletionsvendor/github.com/cenkalti/backoff/v4/exponential.go
- vendor/github.com/cenkalti/backoff/v4/retry.go 0 additions, 0 deletionsvendor/github.com/cenkalti/backoff/v4/retry.go
- vendor/github.com/cenkalti/backoff/v4/ticker.go 0 additions, 0 deletionsvendor/github.com/cenkalti/backoff/v4/ticker.go
- vendor/github.com/cenkalti/backoff/v4/timer.go 0 additions, 0 deletionsvendor/github.com/cenkalti/backoff/v4/timer.go
- vendor/github.com/cenkalti/backoff/v4/tries.go 0 additions, 0 deletionsvendor/github.com/cenkalti/backoff/v4/tries.go
- vendor/modules.txt 0 additions, 0 deletionsvendor/modules.txt
... | ... | @@ -4,6 +4,7 @@ go 1.17 |
require ( | ||
code.vereign.com/gaiax/tsa/golib v0.0.0-20220321093827-5fdf8f34aad9 | ||
github.com/cenkalti/backoff/v4 v4.1.3 | ||
github.com/google/uuid v1.3.0 | ||
github.com/kelseyhightower/envconfig v1.4.0 | ||
go.mongodb.org/mongo-driver v1.8.4 | ||
... | ... |
... | ... | @@ -49,6 +49,8 @@ github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLj |
github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= | ||
github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= | ||
github.com/bketelsen/crypt v0.0.4/go.mod h1:aI6NrJ0pMGgvZKL1iVgXLnfIFJtfV+bKCoqOes/6LfM= | ||
github.com/cenkalti/backoff/v4 v4.1.3 h1:cFAlzYUlVYDysBEH2T5hyJZMh3+5+WCBvSnK6Q8UtC4= | ||
github.com/cenkalti/backoff/v4 v4.1.3/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw= | ||
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= | ||
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= | ||
github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= | ||
... | ... |
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
Please register or sign in to comment