Andrew Chen Wang
Andrew Chen Wang
@seandstewart that sounds awesom3! Thanks a ton and awesome work! One concern I have, though I have no experience with Sans-Io, is that, for backwards compatibility, there tends to always...
@gjcarneiro how did you use to use it? Are you thinking about subclassing [PubSub class](https://github.com/aio-libs/aioredis-py/blob/82004b5fd148e2fb234a51c6966f45f50d1a7d93/aioredis/client.py#L3813)? https://aioredis.readthedocs.io/en/latest/getting-started/#pubsub-mode
@panla (note please open separate issues for separate topics) I'd prefer the first (note you were doing `self._client`). Something a little more fun is to use a proxy global variable...
So aioredis 2 is basically a port of redis-py, so for the most part, if there's a problem, you could head to the redis-py docs or Google with a redis-py...
@abrookins take a look at https://github.com/NoneGG/aredis/pull/120
I was about to say use asyncio.Lock, but without looking at the code at all, I assumed this was a Redis lock itself like https://github.com/joanvila/aioredlock Edit: currently looking at an...
Thanks for opening the PR and sorry for the lack of responses. Just a quick thought: Is asyncio.Queue feasible to store the aforementioned Lock tokens and continuously put and pop?...
Basically, yes, we hope? I guess the problem would be the order; there's a probability that a token can never be put into the queue if we use max size...
> multiple Lock instances within the same Task, or multiple Lock instances outside of a Task context, would share the same ContextVar. Has anyone experimented with just creating a contextvar...
@varungupta85 I noticed that you used makeKey instead of makeKeyWindow. Can you try using the makeKeyWindow method? I'm not sure if this is an Objective C thing only though. Also,...