diff --git a/lib/jeedom-api.js b/lib/jeedom-api.js index 38d1ecf..be3b939 100755 --- a/lib/jeedom-api.js +++ b/lib/jeedom-api.js @@ -17,8 +17,10 @@ 'use strict'; const axios = require('axios'); const async = require('async'); +const http = require('http'); var DEV_DEBUG; var USE_QUEUES; +axios.defaults.httpAgent = new http.Agent({ keepAlive: false }); function JeedomClient(url, apikey, Plateform, myPlugin) { this.apikey = apikey;