mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-05-06 18:00:29 +02:00
* Added permission sync tests for Slack * moved folders * prune test + mypy * added wait for indexing to cc_pair creation * commented out check * should fix other tests * added slack channel pool * fixed everything and mypy * reduced flake
12 lines
360 B
Python
12 lines
360 B
Python
import os
|
|
|
|
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
|