- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: reindex and timeout (was: Reindexing and chef-client)
- Date: Wed, 29 Feb 2012 08:55:05 -0800
- Authentication-results: mr.google.com; spf=pass (google.com: domain of
designates 10.68.197.35 as permitted sender)
On Friday, February 24, 2012 at 12:40 PM, KC Braunschweig wrote:
>
This reminded me of a problem I had. Wondering if it is common. I had
>
to do an index rebuild and the knife command kept timing out because
>
the rebuild takes a while. I didn't see a way to tell knife to use a
>
longer timeout to wait for the response.
>
Is there a way?
>
Should this not happen?
>
Should this be implemented as an async call instead?
If it was async, there's a greater chance it would fail without you knowing
about it. I could see the value in creating some sort of background job
document and polling for the status, but that's a pretty large leap in
complexity.
If you want to increase your timeout, the setting is `rest_timeout` which
defaults to 300s.
--
Dan DeLeo
Archive powered by MHonArc 2.6.16.