Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Qt UI Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Design Studio
QML Viewer Projects
Qt UI Viewer
Merge requests
!72
Disconnect immediately when the app is put to sleep (or sent to background)
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Disconnect immediately when the app is put to sleep (or sent to background)
QDS-14596/disconnect-on-background
into
master
Overview
0
Commits
4
Pipelines
5
Changes
1
Merged
Burak Hançerli
requested to merge
QDS-14596/disconnect-on-background
into
master
4 months ago
Overview
0
Commits
4
Pipelines
5
Changes
1
Expand
Closes
QDS-14596
0
0
Merge request reports
Viewing commit
7cd5bca9
Prev
Next
Show latest version
1 file
+
6
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Verified
7cd5bca9
chore: add a bit of log to help to debug connection issues
· 7cd5bca9
Burak Hançerli
authored
4 months ago
src/backend/dsconnector/ds.cpp
+
6
−
0
Options
@@ -67,6 +67,12 @@ void DesignStudio::initPingPong()
&
QWebSocket
::
pong
,
this
,
[
this
](
quint64
elapsedTime
,
const
QByteArray
&
)
{
if
(
elapsedTime
>
1000
)
qWarning
()
<<
"Design Studio pong is too slow:"
<<
elapsedTime
<<
"ms. Newtork issue?"
;
else
if
(
elapsedTime
>
500
)
qWarning
()
<<
"Design Studio pong is slow:"
<<
elapsedTime
<<
"ms"
;
m_pongTimer
.
stop
();
m_pingTimer
.
start
();
});
Loading