Commit graph

25 commits

Author SHA1 Message Date
Conicaw
021137d4d9
refactor: adjust default retries to 10
Adjust default retries to 10 to allow a longer backoff

commit-id:e43406fc
2024-03-24 00:12:44 -05:00
Conicaw
f3e70c73ca
feat!: configure default retryCondition to retry more
Configure the default retryCondition to retry by default on gateway
errors or rate limit errors

commit-id:a7faaa02
2024-01-21 20:19:47 -06:00
Conicaw
d141239a22
feat: log retries
Log retries

commit-id:2346ea7d
2023-12-23 21:44:00 -06:00
Conicaw
4ecbadfa4d
refactor: remove unused option
Remove unused option

commit-id:d8e8797e
2023-12-23 20:37:43 -06:00
Conicaw
33b9ae2aef
fix: export the new functions
Export the new functions

commit-id:2b126f75
2023-12-23 18:34:18 -06:00
Conicaw
56cef0dff7
feat: add some extra retry functions
Add some extra retry functions

commit-id:7b1d5b99
2023-12-23 18:31:58 -06:00
Conicaw
d5bdf16c67
feat: use exponential backoff delay by default
Use exponential backoff delay by default

commit-id:e0f13cf2
2023-12-23 17:59:59 -06:00
dependabot[bot]
13a039edd5
build(deps): bump axios-retry from 3.9.1 to 4.0.0
Bumps [axios-retry](https://github.com/softonic/axios-retry) from 3.9.1 to 4.0.0.
- [Changelog](https://github.com/softonic/axios-retry/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softonic/axios-retry/compare/v3.9.1...v4.0.0)

---
updated-dependencies:
- dependency-name: axios-retry
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-26 22:54:56 -06:00
dependabot[bot]
86bfb764b0
build(deps-dev): bump typescript from 5.2.2 to 5.3.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.2.2 to 5.3.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.2.2...v5.3.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-21 12:22:24 -06:00
Conicaw
dc732dbe90
style: add more eslint rules
Add more eslint rules
2023-11-14 19:50:10 +04:00
Conicaw
d339488805
style: add import linting
Add import linting
2023-11-14 19:50:10 +04:00
dependabot[bot]
06ba2fbc4b
build(deps): bump axios-retry from 3.8.1 to 3.9.0
Bumps [axios-retry](https://github.com/softonic/axios-retry) from 3.8.1 to 3.9.0.
- [Changelog](https://github.com/softonic/axios-retry/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softonic/axios-retry/compare/v3.8.1...v3.9.0)

---
updated-dependencies:
- dependency-name: axios-retry
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-14 19:50:10 +04:00
Conicaw
1fcd733fd9
build(deps): update dependencies
Update dependencies
2023-08-08 16:15:43 -05:00
Conicaw
fa47be84e0
build: stricter typescript
Stricter typescript
2023-07-05 18:33:32 -05:00
Conicaw
db053cfb8e
style: run format
Run format
2023-07-05 17:37:57 -05:00
ben
490f480a7a added optional chaining to createAxiosInstance() 2021-12-24 00:27:34 +02:00
benhason1
28f9be72ed
Merge pull request #10 from benhason1/feature--better-stack-trace
Feature  better stack trace
2021-12-24 00:22:33 +02:00
ben
af3fe09510 added flag for better stack trace that by default is true 2021-12-24 00:17:18 +02:00
ben
f3e8f4186e renamed createAxiosRetry() to createAxiosInstance() 2021-12-24 00:13:08 +02:00
benhason1
335cfd3c76
Merge branch 'master' into feature--better-stack-trace 2021-12-24 00:04:39 +02:00
benhason1
1b0d806a69
Merge pull request #8 from benhason1/feature--use-axios-function-signature
using axios function signature
2021-12-24 00:03:45 +02:00
ben
3e2d961a2e fixed error, not using createAxiosRetry() when not using register/registerAsync() 2021-12-23 20:11:18 +02:00
ben
8c9ac53b06 added better error stack trace 2021-12-23 20:09:52 +02:00
ben
270fa5b829 using axios function signature 2021-12-23 19:20:41 +02:00
ben
8f4d747d2e working -> renamed from nestjs-http-promise-retry 2021-09-07 21:25:31 +03:00