You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I coded with libredis just for two days, and I like the idea of composition, it's interesting and nice.
However the documentation is not very clear.
After read the doc and code three times, I thought I could do it like this:
I coded with libredis just for two days, and I like the idea of composition, it's interesting and nice.
However the documentation is not very clear.
After read the doc and code three times, I thought I could do it like this:
Oh no, we cant do it, because we add the same batch with different connection in one executor.
I also thought it was right:
In fact, it is not allowed too. The first pair will execute timeout.
Maybe this is not a issue, because we could make unique connections in executor, and merge the cmds with one batch.
But this is not I thought at first. If the lib could solve the problem Internally, we could write more abstract and simple code in PHP.
Regards
KnightE
The text was updated successfully, but these errors were encountered: