Skip to content

Commit

Permalink
Merge pull request #20 from ElrondNetwork/increase-default-timeout
Browse files Browse the repository at this point in the history
Increase default axios timeout.
  • Loading branch information
andreibancioiu authored Jul 19, 2022
2 parents 0055b45 + ceb87f4 commit 3065350
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
28 changes: 14 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@elrondnetwork/erdjs-network-providers",
"version": "0.1.6",
"version": "0.1.7",
"lockfileVersion": 2,
"requires": true,
"author": "ElrondNetwork",
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { IPagination } from "./interface";
const JSONbig = require("json-bigint");

export const defaultAxiosConfig = {
timeout: 1000,
timeout: 5000,
// See: https://github.com/axios/axios/issues/983 regarding transformResponse
transformResponse: [
function (data: any) {
Expand Down

0 comments on commit 3065350

Please sign in to comment.