feat: add retry on database connection (#5772)
* Add retry to database connection * [autofix.ci] apply automated fixes * fix comments --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
c29e6ad3d5
commit
471b8e2f6f
4 changed files with 31 additions and 4 deletions
|
|
@ -22,6 +22,12 @@ LANGFLOW_SAVE_DB_IN_CONFIG_DIR=
|
|||
# SQLite example:
|
||||
LANGFLOW_DATABASE_URL=sqlite:///./langflow.db
|
||||
|
||||
# Database connection retry
|
||||
# Values: true, false
|
||||
# If true, the database will retry to connect to the database if it fails
|
||||
# Example: LANGFLOW_DATABASE_CONNECTION_RETRY=true
|
||||
LANGFLOW_DATABASE_CONNECTION_RETRY=false
|
||||
|
||||
# Cache type
|
||||
LANGFLOW_LANGCHAIN_CACHE=SQLiteCache
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue