emqx / mongodb-erlang

MongoDB driver for Erlang
Apache License 2.0
9 stars 14 forks source link

Fix auth logic #29

Closed JimMoen closed 2 years ago

JimMoen commented 2 years ago

Just exit when auth failed. Notice that the poolboy_sup used simple_one_for_one sup flag, the client process will still be restarted continuously.

terry-xiaoyu commented 2 years ago

replaced by https://github.com/emqx/mongodb-erlang/pull/30