From 3b4a037f874c0ff75ce4330367a6fabec01d102f Mon Sep 17 00:00:00 2001 From: Amio Date: Mon, 23 Jul 2018 00:22:32 +0800 Subject: [PATCH] feat: limit timeout for live-fns. 20s is too long --- libs/axios.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/axios.js b/libs/axios.js index 29f45c3..cae0bcb 100644 --- a/libs/axios.js +++ b/libs/axios.js @@ -1,7 +1,7 @@ const axios = require('axios') module.exports = axios.create({ - timeout: 20000, + timeout: 12000, headers: { 'Accept': 'application/json' }