J. Nick Koston

Results 2087 comments of J. Nick Koston

> [@bdraco](https://github.com/bdraco) 's example is a non-example as those timeouts are not additive, as between (and within dependingly) each client creation other async processes can be run. The user of...

> To give everyone an idea of the effort required to truly "unblock" botocore loaders in aiobotocore: > >The resulting growths in patched code in aiobotocore adds to existing maintenance...

> another half-fix would be to sequentially init your integrations, is that an option? Sequential init would work around the issue but it would defeat the purpose of sharing the...

> Each integration probably should be running in its own async thread with an thread crossing API to communicate. Outside that lets get a profile flame graph to see exactly...

Look at how aioshelly implements this. Let me know if you were thinking something else

https://github.com/home-assistant-libs/aioshelly/pull/713/files But I just realized you care about the incoming not the outgoing

> I was thinking in `session.ws_connect` have a flag (not sure what to call it, maybe `str_bytes=True`) and if so either give the string bytes directly with `WSMsgType.TEXT` (or maybe...

Managed to work it out. The actual change is about 7 lines.. and than another 100+ lines of typing :(

Without Unpack we have to write everything for ws_connect out for both

and we need Self as well to properly type it.