diff options
author | Mark Longair <mark@mysociety.org> | 2013-05-24 15:44:36 +0100 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2013-05-24 15:58:36 +0100 |
commit | 41ddd29bf6f3e8328e79e4d06b63e08fcfdbf4b6 (patch) | |
tree | 5082e9440eab6d5574c4f5a328599ad24fd52fe2 /lib | |
parent | 8fe4b209e03043d10a05caf5e09676a805bba8a6 (diff) |
xapian:rebuild_index: fix for "SSL error: decryption failed or bad record mac"
The connection to the database doesn't survive a fork, but can
be re-established if we disconnect beforehand, and use
establish_connection in the child after the fork.
rebuild_index with safe_rebuild=true is only called as a rake task
(i.e. in its own process) so this disconnection and reconnection
shouldn't affect the running of the site.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions