gui: increase the connection timeout value
- 0.1s is too short. Min settable sampling rate is 1.25Sps
This commit is contained in:
parent
4cd328d98c
commit
3737c2ed59
|
@ -898,7 +898,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
||||||
try:
|
try:
|
||||||
if not (self.kirdy.connecting() or self.kirdy.connected()):
|
if not (self.kirdy.connecting() or self.kirdy.connected()):
|
||||||
self.status_lbl.setText("Connecting...")
|
self.status_lbl.setText("Connecting...")
|
||||||
await self.kirdy.start_session(host=host, port=port, timeout=0.1)
|
await self.kirdy.start_session(host=host, port=port, timeout=5.0)
|
||||||
await self._on_connection_changed(True)
|
await self._on_connection_changed(True)
|
||||||
else:
|
else:
|
||||||
await self.bail()
|
await self.bail()
|
||||||
|
|
Loading…
Reference in New Issue