checkr-ruby
checkr-ruby copied to clipboard
Checkr is not thread safe
If you are have to use multiple api_base / api_key setting it won't be thread safe.
@slbug Hi, unfortunately this is a known issue, which will be addressed in the future v2 of the gem. As for now, version 1.5.4 and up provides a workaround of passing the api_key directly to the requests: https://github.com/checkr/checkr-ruby/commit/7537da0729b9302712e07c400b48101a275d5bf9 Hope this helps for now. Thanks for raising the issue and bringing this to our attention!
Thanks for answer, I know about api_key, but there is no option to pass api_base same way.
@slbug Makes sense, let me look into this and see if we can add a fix.
@slbug Could you provide me with an example of a use case you struggled with that required a different api_base? That'd help a lot, thanks
@nothingisfunny i have multiple hosts for api_base. Don't know why, but it's required :)