Run-time configuration

    In general, passing configuration options is done by appending arguments after the argument in the command line, configuration directive in a Redis config file, or the command. For example:

    In redis.conf:

    From redis-cli:

    1. 127.0.0.6379> MODULE load redisgears.so OPT1 OPT2

    From command line:

    Passing configuration options at runtime

    It is possible to modify certain configuration parameters at runtime using command. The command receives the configuration parameter's name and its value. For example, the following will enable the excution profiler:

    1. $ RG.CONFIGSET ProfileExecutions 1

    PythonHomeDir

    Tells the python interpreter where to look for the default python libraries

    Configurable at Runitime

    ** No

    Example


    The maximum amount of execution to save. When reach this number, old execution will be deleted in a FIFO order.

    1000

    Configurable at Runitime

    ** Yes

    Example

    1. $ redis-server --loadmodule ./redisearch.so MaxExecutions 10

    ProfileExecutions

    Controls whether the internal execution plan profiler is active.

    Note: enabling the profiler impacts overall performance - use with judiciously and with caution.

    0 (disabled)

    Configurable at Runitime

    ** Yes

    Controls whether traceback is attempted onw Python errors.

    Possible values: 0 - disabled not 0 - enabled

    Default

    1 (enableds)

    Configurable at Runitime

    ** Yes