sphinxapi icon indicating copy to clipboard operation
sphinxapi copied to clipboard

Make K_TIMEOUT configurable and rename

Open jsocol opened this issue 13 years ago • 1 comments

Let's make K_TIMEOUT configurable via an environment variable, so that this stays generically useful but django can still set it.

TIMEOUT = os.env.get('SPHINX_TIMEOUT', 1)

Then Django can put, in settings:

os.env['SPHINX_TIMEOUT', 5)

That should work, if I understand the order of the imports. Will double test and implement.

jsocol avatar May 23 '12 16:05 jsocol

+1

stephendonner avatar May 23 '12 16:05 stephendonner