Commit c3769d8b authored by Romain Courteaud's avatar Romain Courteaud

Configuration: disable fast/moderate HTTP checking by default

Only update the DB if user explicitely requested for this feature.
This allow to reduce the DB size increase.
parent 36d54758
...@@ -61,9 +61,9 @@ def createConfiguration( ...@@ -61,9 +61,9 @@ def createConfiguration(
if "TIMEOUT" not in config[CONFIG_SECTION]: if "TIMEOUT" not in config[CONFIG_SECTION]:
config[CONFIG_SECTION]["TIMEOUT"] = "1" config[CONFIG_SECTION]["TIMEOUT"] = "1"
if "ELAPSED_FAST" not in config[CONFIG_SECTION]: if "ELAPSED_FAST" not in config[CONFIG_SECTION]:
config[CONFIG_SECTION]["ELAPSED_FAST"] = "0.2" config[CONFIG_SECTION]["ELAPSED_FAST"] = "-1"
if "ELAPSED_MODERATE" not in config[CONFIG_SECTION]: if "ELAPSED_MODERATE" not in config[CONFIG_SECTION]:
config[CONFIG_SECTION]["ELAPSED_MODERATE"] = "0.5" config[CONFIG_SECTION]["ELAPSED_MODERATE"] = "-1"
if "RELOAD" not in config[CONFIG_SECTION]: if "RELOAD" not in config[CONFIG_SECTION]:
config[CONFIG_SECTION]["RELOAD"] = str(False) config[CONFIG_SECTION]["RELOAD"] = str(False)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment