Changeset View
Changeset View
Standalone View
Standalone View
swh/web/config.py
Show All 38 Lines | "counters": ( | ||||
{"cls": "remote", "url": "http://127.0.0.1:5011/", "timeout": 1,}, | {"cls": "remote", "url": "http://127.0.0.1:5011/", "timeout": 1,}, | ||||
), | ), | ||||
"search": ( | "search": ( | ||||
"dict", | "dict", | ||||
{"cls": "remote", "url": "http://127.0.0.1:5010/", "timeout": 10,}, | {"cls": "remote", "url": "http://127.0.0.1:5010/", "timeout": 10,}, | ||||
), | ), | ||||
"search_config": ( | "search_config": ( | ||||
"dict", | "dict", | ||||
{ | {"metadata_backend": "swh-indexer-storage",}, # or "swh-search" | ||||
"metadata_backend": "swh-indexer-storage", # or "swh-search" | |||||
"enable_ql": False, | |||||
}, | |||||
), | ), | ||||
"log_dir": ("string", "/tmp/swh/log"), | "log_dir": ("string", "/tmp/swh/log"), | ||||
"debug": ("bool", False), | "debug": ("bool", False), | ||||
"serve_assets": ("bool", False), | "serve_assets": ("bool", False), | ||||
"host": ("string", "127.0.0.1"), | "host": ("string", "127.0.0.1"), | ||||
"port": ("int", 5004), | "port": ("int", 5004), | ||||
"secret_key": ("string", "development key"), | "secret_key": ("string", "development key"), | ||||
# do not display code highlighting for content > 1MB | # do not display code highlighting for content > 1MB | ||||
▲ Show 20 Lines • Show All 149 Lines • Show Last 20 Lines |