Changeset View
Changeset View
Standalone View
Standalone View
swh/web/config.py
| Show First 20 Lines • Show All 88 Lines • ▼ Show 20 Lines | "throttling": ( | ||||
| }, | }, | ||||
| }, | }, | ||||
| }, | }, | ||||
| ), | ), | ||||
| "vault": ("dict", {"cls": "remote", "args": {"url": "http://127.0.0.1:5005/",}}), | "vault": ("dict", {"cls": "remote", "args": {"url": "http://127.0.0.1:5005/",}}), | ||||
| "scheduler": ("dict", {"cls": "remote", "url": "http://127.0.0.1:5008/"}), | "scheduler": ("dict", {"cls": "remote", "url": "http://127.0.0.1:5008/"}), | ||||
| "development_db": ("string", os.path.join(SETTINGS_DIR, "db.sqlite3")), | "development_db": ("string", os.path.join(SETTINGS_DIR, "db.sqlite3")), | ||||
| "test_db": ("string", os.path.join(SETTINGS_DIR, "testdb.sqlite3")), | "test_db": ("string", os.path.join(SETTINGS_DIR, "testdb.sqlite3")), | ||||
| "production_db": ("string", "/var/lib/swh/web.sqlite3"), | "production_db": ("dict", {"name": "swh-web"}), | ||||
ardumont: i saw it and then forgot to update it.
Although i'm not sure what to put as default though. | |||||
Not Done Inline ActionsThis is enough from my point of view. anlambert: This is enough from my point of view. | |||||
| "deposit": ( | "deposit": ( | ||||
| "dict", | "dict", | ||||
| { | { | ||||
| "private_api_url": "https://deposit.softwareheritage.org/1/private/", | "private_api_url": "https://deposit.softwareheritage.org/1/private/", | ||||
| "private_api_user": "swhworker", | "private_api_user": "swhworker", | ||||
| "private_api_password": "", | "private_api_password": "", | ||||
| }, | }, | ||||
| ), | ), | ||||
| ▲ Show 20 Lines • Show All 94 Lines • Show Last 20 Lines | |||||
i saw it and then forgot to update it.
Although i'm not sure what to put as default though.