Project

Profile

Help

Story #3706

Crane's timeout for backend search requests is not configurable

Added by peasters over 3 years ago. Updated 6 months ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Target Release - Crane:
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix, Pulp 2
Sprint:
Quarter:

Description

Crane currently uses a hard-coded 1 second timeout when querying the GSA or Solr search backends. This timeout can be too short for some uses cases, like development environments where resources are constrained.

The timeout should be configurable in Crane's config file so administrators can choose an appropriate value.

History

#1 Updated by CodeHeeler over 3 years ago

  • Tracker changed from Issue to Story
  • % Done set to 0

#2 Updated by mhrivnak over 3 years ago

  • Tags Easy Fix added

+1. I originally made the timeout 1 second, likely for no particular reason other than optimism. This week it came back to bite me, just a little. :)

Testing another app against an internal "stage" deployment of crane, with a corresponding stage deployment of the search infra, crane was sometimes returning 500 responses to search requests. @peasters figured out it was the timeout, and that the stage solr instance wasn't able to respond in under 1 second until its cache had been sufficiently warmed. Hence after several 500 responses, it would start working.

#3 Updated by bmbouter almost 3 years ago

  • Status changed from NEW to CLOSED - WONTFIX

#4 Updated by bmbouter almost 3 years ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

#5 Updated by bmbouter almost 3 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF