I would like to use Sidekiq for my background work. But the requirement is that gem dependencies are thread safe.
In their wiki page, they mention:
Some gems can be troublesome: * pg (the postgres driver, make sure PG::Connection.isthreadsafe returns true)
I am using pg gem for PostgreSQL.
My question is: how do I change PG :: Connection.isthreadsafe to true?
source share