network: Client 读取间隔由 100ms 修改为 10ms
This commit is contained in:
parent
720906b0ad
commit
6c5a81e176
|
@ -144,7 +144,7 @@ void Client::readAction()
|
|||
emit command(currentAction);
|
||||
getActionButton->setEnabled(true);
|
||||
|
||||
QTimer::singleShot(100, this, &Client::requestNewAction);
|
||||
QTimer::singleShot(10, this, &Client::requestNewAction);
|
||||
}
|
||||
|
||||
void Client::displayError(QAbstractSocket::SocketError socketError)
|
||||
|
|
Loading…
Reference in New Issue