mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 04:52:07 +00:00
timeout + spacing (#4877)
This commit is contained in:
@@ -11,6 +11,6 @@ CHARTS_TABLES_URL = HUB_URL + "app/terminal/theme/charts-tables"
|
||||
|
||||
DEFAULT_ROUTINES_URL = "https://tffo1zc1.directus.app/items/Routines"
|
||||
|
||||
TIMEOUT = 15
|
||||
TIMEOUT = 30
|
||||
CONNECTION_ERROR_MSG = "[red]Connection error.[/red]"
|
||||
CONNECTION_TIMEOUT_MSG = "[red]Connection timeout.[/red]"
|
||||
|
||||
@@ -137,7 +137,7 @@ def download_and_save_routines(auth_header: str):
|
||||
for name, content in routines.items():
|
||||
save_routine(file_name=f"{name}.openbb", routine=content, force=True)
|
||||
except Exception:
|
||||
console.print("[red]Failed to download and save routines.[/red]")
|
||||
console.print("[red]\nFailed to download and save routines.[/red]")
|
||||
|
||||
|
||||
def update_backend_sources(auth_header, configs, silent: bool = True):
|
||||
|
||||
Reference in New Issue
Block a user