Reduce timeout to 1500

This commit is contained in:
Mariusz Nowak 2019-09-25 12:04:48 +02:00
parent 55f3aeff22
commit fb00a657a0
No known key found for this signature in database
GPG Key ID: B1FBDA8A182B03F2

View File

@ -72,7 +72,7 @@ function request(type, event, { id, timeout } = {}) {
},
method: 'POST',
// Ensure reasonable timeout to not block process from exiting
timeout: timeout || 2000,
timeout: timeout || 1500,
body: JSON.stringify(event),
}).then(
response => {