Merge pull request #129 from foomo/feature/increase-timeouts

feat: increase timeouts
This commit is contained in:
Kevin Franklin Kim 2025-06-11 13:36:40 +02:00 committed by GitHub
commit acf13a73b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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();