From 91a5248611f007288f515528d29115234e1d9295 Mon Sep 17 00:00:00 2001 From: Jason Summer Date: Mon, 28 Oct 2024 17:53:02 -0500 Subject: [PATCH] Possible websocket fix --- journeys/iteration.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/journeys/iteration.py b/journeys/iteration.py index 501ef2b5..f425270b 100644 --- a/journeys/iteration.py +++ b/journeys/iteration.py @@ -1,3 +1,8 @@ +from streamlit import config +# Set minCachedMessageSize to 500 MB to disable forward message cache: +# st.set_config would trigger an error, only the set_config from config module works +config.set_option("global.minCachedMessageSize", 500 * 1e6) + import json import time from typing import Any, Dict, List, Optional