Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update redis-queue-for-multiple-sites.md #460

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions content/collections/kb/redis-queue-for-multiple-sites.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ QUEUE_DRIVER=redis
For each site on your server, you want Redis to use it's own database, or you'll run into troubles. You can do this by adding the following to your `.env` file. Make sure you increase the database number for each site you're running:

```.language-env
REDIS_DATABASE=0
REDIS_DATABASE=1
```

By default you have 16 Redis databases at hand.
By default you have 16 Redis databases at hand. By default Redis uses the first (`0`) database. No need to add that one to your `.env` file if you're only running one site on your server.

## Run a queue worker for each site

Expand Down