Skip to content

Commit 0fc4da9

Browse files
bogdansteveklabnik
authored andcommitted
Use separated database for test environment.
1 parent d97ab48 commit 0fc4da9

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

README.markdown

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -745,11 +745,16 @@ appropriately.
745745

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

748-
development: localhost:6379
749-
test: localhost:6379
750-
staging: redis1.se.github.com:6379
751-
fi: localhost:6379
752-
production: redis1.ae.github.com:6379
748+
``` yaml
749+
development: localhost:6379
750+
test: localhost:6379:1
751+
staging: redis1.se.github.com:6379
752+
fi: localhost:6379
753+
production: redis1.ae.github.com:6379
754+
```
755+
756+
Note that separated Redis database should be used for test environment
757+
So that you can flush it and without impacting development environment
753758
754759
And our initializer:
755760

0 commit comments

Comments
 (0)