Skip to content

Commit

Permalink
fix: double response size because of binance adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
nvtaveras committed Oct 5, 2023
1 parent fd83585 commit fe78c24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/exchange_adapters/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export abstract class BaseExchangeAdapter {
agent: this.httpsAgent,
follow: 20, // redirect limit
// max body size in bytes - usually < 10 KB, except for Binance exchangeInfo endpoint which is ~1.4MB
size: megabytesToBytes(4),
size: megabytesToBytes(8),
timeout: this.config.apiRequestTimeout, // resets on redirect
})
} catch (err) {
Expand Down

0 comments on commit fe78c24

Please sign in to comment.