forked from TykTechnologies/tyk-pump
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TT-10520] Migrating from go-redis to storage library (TykTechnologie…
…s#765) * migrating from go-redis to storage library * fixing issues * linting * fixing compilation error * linting * linting part 2 * adding constructor unit test * Updating storage to v1.1.0 * Fixing GetAndDeleteSet method * Modifying errors to 'fatal' type * Running go mod tidy * improving tests * improving tests * linting * removing fatal error * linting * fixing test * adding TLS Options * linting * simplifying code * Improving code readingness * Making model.Connector global variable a singleton * Update dependencies * removing commented code * linting
- Loading branch information
Showing
16 changed files
with
842 additions
and
574 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package pumps | ||
|
||
var ( | ||
Version = "v1.8.0" | ||
Version = "v1.9.0" | ||
BuiltBy string | ||
Commit string | ||
BuildDate string | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package httpretry | ||
package retry | ||
|
||
import ( | ||
"bytes" | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package retry | ||
|
||
import ( | ||
"time" | ||
|
||
"github.com/cenkalti/backoff/v4" | ||
) | ||
|
||
func GetTemporalStorageExponentialBackoff() *backoff.ExponentialBackOff { | ||
exponentialBackoff := backoff.NewExponentialBackOff() | ||
exponentialBackoff.Multiplier = 2 | ||
exponentialBackoff.MaxInterval = 10 * time.Second | ||
exponentialBackoff.MaxElapsedTime = 0 | ||
|
||
return exponentialBackoff | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.