configure redis auth on sidekiq

后端 未结 1 658
南方客
南方客 2021-02-14 03:33

I think I am missing something since I couldn\'t find in the docs how to write the username and password for the redis instance to use with sidekiq..

Is there a way to d

1条回答
  •  一向
    一向 (楼主)
    2021-02-14 04:35

    Sidekiq passes unrecognized redis options directly to the Redis driver:

    config.redis = { password: 'bar' }
    

    And redis does not have the concept of users so there's only password.

    0 讨论(0)
提交回复
热议问题