hermeznetwork / hermez-node

Hermez node Go implementation
GNU Affero General Public License v3.0
58 stars 33 forks source link

Improvement/http server configuration #1110

Closed marioidival closed 3 years ago

marioidival commented 3 years ago

Closes #1085

What does this PR does?

Add ReadTimeout/WriteTimeout API configuration into default configuration files.

How to test?

Just waiting a bugfix from Q/A team for integration-tests repository.

Checklist

These are the criteria that every PR should meet, please check them off as you review them:

Starting test
    ‚úì Init variables (8416ms)
    ‚úì Check ETH L1 deposit (48357ms)
    ‚úì Check ERC20 L1 deposit (48411ms)
    ‚úì Check ETH L1 force exit (48258ms)
    ‚úì Check ERC20 L1 force exit (38296ms)
    ‚úì Check ETH withdrawal from firsts forceExits (16369ms)
    ‚úì Check ERC20 withdrawal from firsts forceExits (12348ms)
    ‚úì Check ETH N L1 force exits (34269ms)
    ‚úì Check ETH withdrawal from previous N force exits (8175ms)
    ‚úì Check single ETH L2 transfer (40338ms)
    ‚úì Check single ERC20 L2 transfer (40350ms)
    ‚úì Transfer ETH to a non-existent Bjj address (40364ms)
    ‚úì Transfer ERC20 to a non-existent Bjj address (30287ms)
    ‚úì Transfer ETH to hermez ethereum address (40227ms)
    ‚úì Transfer ERC20 to hermez ethereum address (40261ms)
    ‚úì Transfer ETH to non-existent ETH address (30294ms)
    ‚úì Transfer ETH to hermez ethereum address from internal account (50281ms)
    ‚úì Transfer ERC20 to hermez ethereum address from internal account (40298ms)
    ‚úì Check multiple L2 ETH transfer in same batch (50792ms)
    ‚úì Check multiple L2 ETH transfer in different batches (171343ms)
    ‚úì Atomic txs (50659ms)
    ‚úì Check L2 ETH exit (40269ms)
    ‚úì Check L2 ERC20 exit (40276ms)
    ‚úì Check ETH withdrawal from L2 exit (8156ms)
    ‚úì Check ERC20 withdrawal from L2 exit (8192ms)
    ‚úì Exit ETH and circuit withdrawal (43232ms)
    ‚úì Assert API endpoints (2220ms)
    ‚úì Update Buckets (12333ms)
    ‚úì Check ETH L1 force exit bucket (48293ms)
    ‚úì Check ERC20 L1 force exit bucket (38290ms)
    ‚úì Check ETH withdrawal buckets (12299ms)
    ‚úì Check ERC20 withdrawal buckets (12362ms)
    ‚úì Check withdrawals buckets (39ms)

  33 passing (20m)