diff --git a/bin/index.js b/bin/index.js index 483fe0e..8abd331 100644 --- a/bin/index.js +++ b/bin/index.js @@ -21,7 +21,7 @@ const { index, interval, lat, lon, radius, ...elasticsearch } = getopts(process. interval: 0, lat: 33.433638, lon: -112.008113, - radius: 1000, + radius: 200, }, }); diff --git a/src/lib/fetch.mjs b/src/lib/fetch.mjs index 8aafa5d..77e488c 100644 --- a/src/lib/fetch.mjs +++ b/src/lib/fetch.mjs @@ -1,7 +1,7 @@ import axios from 'axios'; export default axios.create({ - timeout: 5000, + timeout: 3000, responseType: 'json', headers: { 'Content-Type': 'application/json; charset=utf-8',