Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
waterim committed Jan 10, 2024
1 parent ed392e7 commit 7d5dd5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/HttpUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ function processHTTPRequest(url: string, method: RequestType = 'get', body: Form
body,
})
.then((response) => {
// We are calculating the skew to minimize the delay when posting the messages
const match = url.match(APICommandRegex)?.[1];
if (match && addSkewList.includes(match) && response.headers) {
const dateHeaderValue = response.headers.get('Date');
Expand Down

0 comments on commit 7d5dd5e

Please sign in to comment.