Spaces:
Runtime error
Runtime error
Update db_config.json
Browse files- db_config.json +27 -0
db_config.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"description": "Database connection and query safety configuration for DataBot.",
|
| 3 |
+
"connection": {
|
| 4 |
+
"host": "51.89.104.26",
|
| 5 |
+
"port": "3306",
|
| 6 |
+
"database": "dev_poly",
|
| 7 |
+
"charset": "utf8"
|
| 8 |
+
},
|
| 9 |
+
"timeouts": {
|
| 10 |
+
"connect_timeout": 30,
|
| 11 |
+
"read_timeout": 60,
|
| 12 |
+
"write_timeout": 60
|
| 13 |
+
},
|
| 14 |
+
"pool": {
|
| 15 |
+
"pool_pre_ping": true,
|
| 16 |
+
"pool_recycle": 300
|
| 17 |
+
},
|
| 18 |
+
"query_limits": {
|
| 19 |
+
"max_rows": 100,
|
| 20 |
+
"max_query_time_seconds": 30,
|
| 21 |
+
"max_join_tables": 3
|
| 22 |
+
},
|
| 23 |
+
"schema_loading": {
|
| 24 |
+
"max_retries": 3,
|
| 25 |
+
"retry_delay_seconds": 5
|
| 26 |
+
}
|
| 27 |
+
}
|