- From: Seth Falcon <
>
- To:
- Subject: [chef] Re: Data Bag Search Delay
- Date: Wed, 02 Oct 2013 21:00:12 -0700
writes:
>
It takes 60 seconds from when I call "knife data bag from file somebag
>
path/to/some.json" until "knife search somebag" will return the answer.
>
Is there anything that can be done to make that faster?
The default config for the solr commit interval is 60000 ms (1
minute). Depending on your load and hardware specs, you can likely
reduce this time to reduce the latency between data updates and
search-ability of the data.
The config would go into /etc/chef-server/chef-server.rb and look like:
chef_solr['commit_interval'] = 10000
+ seth
--
Seth Falcon | Development Lead | Opscode | @sfalcon
Attachment:
pgpW0L9RRWiSb.pgp
Description: PGP signature
- [chef] Re: Data Bag Search Delay, (continued)
[chef] Re: Data Bag Search Delay, Seth Falcon, 10/02/2013
Archive powered by MHonArc 2.6.16.