dieselrabbit / screenlogicpy

Interface for Pentair Screenlogic connected pool controllers over IP in Python
GNU General Public License v3.0
17 stars 5 forks source link

Use asyncio.timeout/async_timeout to avoid creating tasks #25

Closed bdraco closed 1 year ago

bdraco commented 1 year ago

py3.11 has a new asyncio.timeout which is much more efficient.

We can use async_timeout on < py3.11