Changed endpoint to an AWS one + added increased timeout

This commit is contained in:
askeluv
2019-03-15 15:52:32 +08:00
parent 70e550a25f
commit 6a9b71466d
2 changed files with 4 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ import { handleError } from '../utils';
const BATCH_SAVE_SIZE = 1000;
// Max requests to make to API per second;
const EDPS_MAX_REQUESTS_PER_SECOND = 1;
const EDPS_MAX_REQUESTS_PER_SECOND = 0.5;
// Maximum requests per second to CryptoCompare
const CRYPTO_COMPARE_MAX_REQS_PER_SECOND = 60;