Skip to content

Commit

Permalink
Use separated database for test environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdan authored and steveklabnik committed Sep 24, 2012
1 parent d97ab48 commit 0fc4da9
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions README.markdown
Expand Up @@ -745,11 +745,16 @@ appropriately.

Here's our `config/resque.yml`:

development: localhost:6379
test: localhost:6379
staging: redis1.se.github.com:6379
fi: localhost:6379
production: redis1.ae.github.com:6379
``` yaml
development: localhost:6379
test: localhost:6379:1
staging: redis1.se.github.com:6379
fi: localhost:6379
production: redis1.ae.github.com:6379
```

Note that separated Redis database should be used for test environment
So that you can flush it and without impacting development environment

And our initializer:

Expand Down

0 comments on commit 0fc4da9

Please sign in to comment.