Closed Bug 556138 Opened 16 years ago Closed 16 years ago

Set timeout to 1 second and catch any socket errors when talking to sphinx

Categories

(addons.mozilla.org Graveyard :: Search, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jbalogh, Assigned: davedash)

Details

(Whiteboard: [z])

oremj suggests the 1 second timeout. It works for me. We catch the timeout error during connect, but those could happen at any time. We also had Connection reset by peer errors today. Sphinx doesn't catch any of these. We should throw a wide net when talking to Sphinx.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
2b48d38c92d8b71b80eedde192c819de0a609edf
http://github.com/jbalogh/zamboni/commit/2b48d38c fixes the timeout, but we still need to catch more exceptions.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 16 years ago16 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.