Skip to main content

GRAPH.CONFIG-SET

Set the value of a FalkorDB configuration parameter.

Values set using GRAPH.CONFIG SET are not persisted after server restart.

FalkorDB configuration parameters are detailed here.

Note: As detailed in the link above, not all FalkorDB configuration parameters can be set at run-time.

from falkordb import FalkorDB
client = FalkorDB()
print(client.get_config('TIMEOUT'))
client.set_config('TIMEOUT', 10000)
print(client.get_config('TIMEOUT'))
try:
client.set_config('THREAD_COUNT', 10)
except Exception as e:
print(e)