diff --git a/.gitignore b/.gitignore index 4b5bd5e0..9ebb9d3e 100644 --- a/.gitignore +++ b/.gitignore @@ -163,4 +163,6 @@ extensions/ web/.env.build web/.env.dev web/.env.development -node_modules/ \ No newline at end of file +node_modules/ + +*.crdownload \ No newline at end of file diff --git a/app.py b/app.py index 205ec83c..3d198891 100644 --- a/app.py +++ b/app.py @@ -45,7 +45,7 @@ log = logging.getLogger('werkzeug') log.setLevel(logging.ERROR) app = Flask("GPT4All-WebUI", static_url_path="/static", static_folder="static") -socketio = SocketIO(app, cors_allowed_origins="*", async_mode='gevent', ping_timeout=60, ping_interval=15) +socketio = SocketIO(app, cors_allowed_origins="*", async_mode='gevent', ping_timeout=200, ping_interval=15) app.config['SECRET_KEY'] = 'secret!' # Set the logging level to WARNING or higher