Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Gervasi committed Aug 28, 2015
1 parent 33f5c0b commit 0233d02
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,16 @@ BrokenRecord.configure do |config|
User.skip_callback :validate, :before, :user_must_be_active
end

# BrokenRecord uses the parallelize gem to distribute work across
# multiple cores. The following block will be called every time
# the process is forked (useful for re-establishing connections).
config.after_fork do
# BrokenRecord uses the parallelize gem to distribute work across
# multiple cores. The following block will be called every time
# the process is forked (useful for re-establishing connections).
config.after_fork do
Rails.cache.reconnect if Rails.cache.respond_to? :reconnect
end

# The compact_output option will report the ids of invalid records
# but it will omit any relevant messages or backtraces.
config.compact_output = true
end
```

Expand Down

0 comments on commit 0233d02

Please sign in to comment.