Michael Grunder

Results 200 comments of Michael Grunder

If people are actually interested in this feature, I'm happy to formalize the API (at least with respect to the C extension). I don't know Ruby, so I have no...

I can rebase the changes in my fork and get them merged but the underlying issue is just that I have basically no knowledge of ruby, so am not certain...

Move your `SUBSCRIBE` call before you spin off the thread and start the loop and it works ```c++ #include #include #include #include #include static struct ev_loop *loop = nullptr; static...

It's a good question actually. From a bit of digging, it looks like we're not starting the watchers in `redisLibevAttach`, just initializing them with `ev_io_init`. Once a command is sent,...

Hi, sorry for the delay. What user data would you be looking for? Would `context->privdata` suffice or do you mean a different mechanism? It's simple enough to add an extra...

I'll merge the commits and rework the logic to use `redisConnectWithOptions`

Hi @mz02005, I'm more familiar with libev but you're trying to send commands into the event loop from a different thread. Generally this is not correct, because both threads will...

@jm4games Yes, none of the examples really show "real-world" use where the event loop processes events received over a longer period of time. They're all mostly one-shot examples where a...

Closing this issue as it's not really a bug in Hiredis. I will still try to create a more robust async example in the future, however.

It's really hard to say without more context. That code runs for me just fine. Can you post your full program along with how you're compiling it?