-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: DVC9059 move core server request logic to new lib #565
Conversation
jonathannorris
commented
Sep 26, 2023
•
edited
Loading
edited
- pull out the common request logic between the JS Cloud Server SDK and NodeJS SDK into its own library.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
ed1fb2d
to
d811b17
Compare
db69e01
to
9c52d97
Compare
@@ -19,20 +18,3 @@ export async function getEnvironmentConfig( | |||
requestTimeout, | |||
) | |||
} | |||
|
|||
async function getWithTimeout( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move to common request lib
status: number | ||
} | ||
|
||
const exponentialBackoff: RequestInitWithRetry['retryDelay'] = (attempt) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved all common request helper functions here used by various server SDKs.
82ce91a
to
d7a37aa
Compare
f024a01
to
235f361
Compare
77cd079
to
3a8e1a2
Compare
adc5edf
to
3ec54d0
Compare
3a8e1a2
to
360398a
Compare
3ec54d0
to
d2cf865
Compare
360398a
to
edfe8fa
Compare
edfe8fa
to
436dcc7
Compare