riffed
riffed copied to clipboard
Allow multiple clients
I've adapted the Client
to be able to start multiple GenServer
s. I didn't want to change the behavior of any of the other start_link
functions, so there's a new function signature...
{:ok, pid} = SomeClient.start_link(thrift_client: thrift_client)
Also included is a test of this behavior, and fixes to a few Elixir 1.3 compiler warnings.
Thanks!
Coverage decreased (-0.05%) to 96.694% when pulling 2d317e9cb8332cd3495cac17616385d7dc9dc579 on binaryseed:allow-multiple-clients into f4a46547c626238a5037e152cf4e99f6ed11a4b5 on pinterest:master.