mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-05-14 13:50:08 +02:00
* wip checkpointing/continue on failure more stuff for checkpointing Basic implementation FE stuff More checkpointing/failure handling rebase rebase initial scaffolding for IT IT to test checkpointing Cleanup cleanup Fix it Rebase Add todo Fix actions IT Test more Pagination + fixes + cleanup Fix IT networking fix it * rebase * Address misc comments * Address comments * Remove unused router * rebase * Fix mypy * Fixes * fix it * Fix tests * Add drop index * Add retries * reset lock timeout * Try hard drop of schema * Add timeout/retries to downgrade * rebase * test * test * test * Close all connections * test closing idle only * Fix it * fix * try using null pool * Test * fix * rebase * log * Fix * apply null pool * Fix other test * Fix quality checks * Test not using the fixture * Fix ordering * fix test * Change pooling behavior
17 lines
554 B
Python
17 lines
554 B
Python
import os
|
|
|
|
ADMIN_USER_NAME = "admin_user"
|
|
|
|
API_SERVER_PROTOCOL = os.getenv("API_SERVER_PROTOCOL") or "http"
|
|
API_SERVER_HOST = os.getenv("API_SERVER_HOST") or "localhost"
|
|
API_SERVER_PORT = os.getenv("API_SERVER_PORT") or "8080"
|
|
API_SERVER_URL = f"{API_SERVER_PROTOCOL}://{API_SERVER_HOST}:{API_SERVER_PORT}"
|
|
MAX_DELAY = 45
|
|
|
|
GENERAL_HEADERS = {"Content-Type": "application/json"}
|
|
|
|
NUM_DOCS = 5
|
|
|
|
MOCK_CONNECTOR_SERVER_HOST = os.getenv("MOCK_CONNECTOR_SERVER_HOST") or "localhost"
|
|
MOCK_CONNECTOR_SERVER_PORT = os.getenv("MOCK_CONNECTOR_SERVER_PORT") or 8001
|