Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
Tidal
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PLN
Tidal
Commits
b3f4e8ac
Commit
b3f4e8ac
authored
Nov 11, 2026
by
PLN (Algolia)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf-tray: start the timer after the publish state exists, refresh() crashed on _icon_sig
parent
f23ddd63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
perf-tray.py
perf-tray.py
+6
-5
No files found.
perf-tray.py
View file @
b3f4e8ac
...
@@ -288,11 +288,6 @@ class PerfTray:
...
@@ -288,11 +288,6 @@ class PerfTray:
self
.
tray
.
activated
.
connect
(
self
.
on_tray_activated
)
self
.
tray
.
activated
.
connect
(
self
.
on_tray_activated
)
self
.
tray
.
show
()
self
.
tray
.
show
()
self
.
timer
=
QTimer
()
self
.
timer
.
timeout
.
connect
(
self
.
refresh
)
self
.
timer
.
start
(
REFRESH_MS
)
self
.
refresh
()
# Publish-gating state (2026-11-01 tray-churn fix). The xpswatch tray lane
# Publish-gating state (2026-11-01 tray-churn fix). The xpswatch tray lane
# measured this process at ~1.9 tray signals/s while idling, all of it from
# measured this process at ~1.9 tray signals/s while idling, all of it from
# refresh() re-pushing the icon, tooltip and menu rows every 2 s: the
# refresh() re-pushing the icon, tooltip and menu rows every 2 s: the
...
@@ -308,6 +303,12 @@ class PerfTray:
...
@@ -308,6 +303,12 @@ class PerfTray:
self
.
_health_txt
=
None
self
.
_health_txt
=
None
self
.
_headers_txt
=
(
None
,
None
)
self
.
_headers_txt
=
(
None
,
None
)
# Last: refresh() reads the state above, so it must exist first.
self
.
timer
=
QTimer
()
self
.
timer
.
timeout
.
connect
(
self
.
refresh
)
self
.
timer
.
start
(
REFRESH_MS
)
self
.
refresh
()
# ------------------------------------------------------------- ending a session
# ------------------------------------------------------------- ending a session
def
_rig_is_up
(
self
):
def
_rig_is_up
(
self
):
active
,
_
=
sc_state
()
active
,
_
=
sc_state
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment