What's Changed
- PyPI 0.6.0
- Added HTTP persistent connections for API requests to Powerwall Gateway by @mcbirse in #21
- Requests to Gateway will now re-use persistent http connections which reduces load and increases response time.
- Uses default connection
poolmaxsize=10to align with Session object defaults. Note: pool use applies to multi-threaded use of pyPowerwall only, e.g. as with the pyPowerwall Proxy Server. - Added env
PW_POOL_MAXSIZEto proxy server to allow this to be controlled (persistent connections disabled if set to zero). - Added env
PW_TIMEOUTto proxy server to allow timeout on requests to be adjusted.
Full Changelog: v0.5.1...v0.6.0