Search code examples
redissidekiq

What's the meaning of the last part of a redis url?


A redis url may look like this:

redis://redis.example.com:7372/12

It is the schema part: 'redis://',
hostname: redis.example.com
port: 7372

What does the number '12' mean at the last part?


Solution

  • The last number is the database number