mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix syntax error [ci skip]
This commit is contained in:
parent
a33dbb17b0
commit
8cdeeb5b26
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ gem 'connection_pool'
|
||||||
Next, pass the `:pool_size` and/or `:pool_timeout` options when configuring the cache store:
|
Next, pass the `:pool_size` and/or `:pool_timeout` options when configuring the cache store:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
config.cache_store = :mem_cache_store, "cache.example.com", pool_size: 5, pool_timeout: 5
|
config.cache_store = :mem_cache_store, "cache.example.com", { pool_size: 5, pool_timeout: 5 }
|
||||||
```
|
```
|
||||||
|
|
||||||
* `:pool_size` - This option sets the number of connections per process (defaults to 5).
|
* `:pool_size` - This option sets the number of connections per process (defaults to 5).
|
||||||
|
|
Loading…
Reference in a new issue