Feature/fast http client (#132)

* initial changes to use undici for http client and connection pooling

* use body.json() mixin

* logging

* add pipelining env var

* implement socket close
This commit is contained in:
Dave Horton
2022-07-18 15:32:03 +02:00
committed by GitHub
parent bb9c3a8df0
commit 6979affb86
4 changed files with 96 additions and 31 deletions

View File

@@ -158,7 +158,7 @@ class WsRequestor extends BaseRequestor {
close() {
this.closedGracefully = true;
this.logger.info('WsRequestor:close closing socket');
this.logger.debug('WsRequestor:close closing socket');
try {
if (this.ws) {
this.ws.close();