feat: increase timeouts

This commit is contained in:
Kevin Franklin Kim 2025-06-11 11:54:33 +02:00
parent f6539da3c0
commit de67860229
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View File

@ -113,7 +113,7 @@ const headerList = ["referer", "user-agent"];
const requestUrl = merchantUrl+'?'+serializeData(mappedData);
const requestOptions = {
headers: generateRequestHeaders(headerList, cookieList),
timeout: 500,
timeout: 1000,
};
return sendHttpGet(requestUrl, requestOptions).then((result) => {

View File

@ -531,7 +531,7 @@ if (data.activateLogs) {
return sendHttpGet(url, {
headers: {key: 'value'},
timeout: 500,
timeout: 1000,
}).then((result) => {
if (result.statusCode >= 200 && result.statusCode < 300) {
data.gtmOnSuccess();

View File

@ -129,7 +129,7 @@ if (!isConsentGivenOrNotRequired()) {
const options = {
headers: {'tracify-token': data.token},
method: 'POST',
timeout: 500,
timeout: 1000,
};
const body = mapEventData();