kan0621 commited on
Commit
ac6e17a
·
verified ·
1 Parent(s): ffc7733

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -1025,8 +1025,8 @@ if __name__ == '__main__':
1025
  print("Starting Stimulus Generator server...")
1026
  print("WebSocket server configured with:")
1027
  print(f" - Async mode: {socketio.async_mode}")
1028
- print(f" - Ping interval: 25s")
1029
- print(f" - Ping timeout: 60s")
1030
  print(f" - HTTP Compression: Disabled")
1031
  print(f" - Session Management: Disabled")
1032
 
@@ -1042,6 +1042,7 @@ if __name__ == '__main__':
1042
  host='0.0.0.0',
1043
  port=int(os.environ.get('PORT', 5000)),
1044
  debug=False,
 
1045
  log_output=False
1046
  )
1047
  else:
 
1025
  print("Starting Stimulus Generator server...")
1026
  print("WebSocket server configured with:")
1027
  print(f" - Async mode: {socketio.async_mode}")
1028
+ print(f" - Ping interval: 10s")
1029
+ print(f" - Ping timeout: 30s")
1030
  print(f" - HTTP Compression: Disabled")
1031
  print(f" - Session Management: Disabled")
1032
 
 
1042
  host='0.0.0.0',
1043
  port=int(os.environ.get('PORT', 5000)),
1044
  debug=False,
1045
+ allow_unsafe_werkzeug=True,
1046
  log_output=False
1047
  )
1048
  else: