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
{{ message }}
This repository was archived by the owner on Dec 16, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 16, 2024. It is now read-only.
Hi there,
I use eredis as client to store erlang server's log, and I don't care whether redis command executed success or failure, so is there any method like qp_noreply? For log storage, LPUSH+LTRIM is a common pipeline. thanks!
Activity
paulo-ferraz-oliveira commentedon Sep 12, 2018
I'd say, the easiest way to not care about the reply is to simply ignore it, like:
_ = eredis:qp(Client, Pipeline)This is a blocking operation, of course.
Another way to do this is to simply spawn a process and also ignore the reply, like:
spawn(fun () -> _ = eredis:qp(Client, Pipeline) end)but I don't know your actual use case.