Skip to content

Make K_TIMEOUT configurable and rename #2

@jsocol

Description

@jsocol

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions