Spaces:
Runtime error
Runtime error
muhammad.sutariya commited on
Commit ·
e9edc6e
1
Parent(s): 203878f
change config.toml
Browse files- .chainlit/config.toml +8 -1
.chainlit/config.toml
CHANGED
|
@@ -27,9 +27,16 @@ websocket_max_size = 16777216
|
|
| 27 |
|
| 28 |
# Connection settings - Increased for cloud deployment
|
| 29 |
connection_timeout = 120
|
| 30 |
-
max_http_buffer_size =
|
|
|
|
| 31 |
max_connections = 50
|
| 32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
[features]
|
| 34 |
# Process and display HTML in messages. This can be a security risk (see https://stackoverflow.com/questions/19603097/why-is-it-dangerous-to-render-user-generated-html-or-javascript)
|
| 35 |
unsafe_allow_html = false
|
|
|
|
| 27 |
|
| 28 |
# Connection settings - Increased for cloud deployment
|
| 29 |
connection_timeout = 120
|
| 30 |
+
max_http_buffer_size = 10485760 # 10MB
|
| 31 |
+
max_payload = 10485760 # 10MB max payload
|
| 32 |
max_connections = 50
|
| 33 |
|
| 34 |
+
# Engine.IO settings to prevent payload errors
|
| 35 |
+
[project.engineio]
|
| 36 |
+
max_http_buffer_size = 10485760
|
| 37 |
+
ping_interval = 20000 # milliseconds
|
| 38 |
+
ping_timeout = 30000 # milliseconds
|
| 39 |
+
|
| 40 |
[features]
|
| 41 |
# Process and display HTML in messages. This can be a security risk (see https://stackoverflow.com/questions/19603097/why-is-it-dangerous-to-render-user-generated-html-or-javascript)
|
| 42 |
unsafe_allow_html = false
|