summaryrefslogtreecommitdiffstats
path: root/core/modules/hardware-stats
diff options
context:
space:
mode:
authorSimon Rettberg2022-05-17 13:12:01 +0200
committerSimon Rettberg2022-05-17 13:12:01 +0200
commit34edaeac0917720f2b3bd1f526b676d0d5da87ce (patch)
tree639bcbefc5343c58a427c6a770d7f71e25fe0a92 /core/modules/hardware-stats
parent[ntfsfree] Don't send debug report if we're shutting down (diff)
downloadmltk-34edaeac0917720f2b3bd1f526b676d0d5da87ce.tar.gz
mltk-34edaeac0917720f2b3bd1f526b676d0d5da87ce.tar.xz
mltk-34edaeac0917720f2b3bd1f526b676d0d5da87ce.zip
[hardware-stats] Add comment regarding usage of ~screens event
Diffstat (limited to 'core/modules/hardware-stats')
-rw-r--r--core/modules/hardware-stats/data/etc/X11/Xsetup.d/99-detect-screens5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/modules/hardware-stats/data/etc/X11/Xsetup.d/99-detect-screens b/core/modules/hardware-stats/data/etc/X11/Xsetup.d/99-detect-screens
index 74f77621..a1c771e0 100644
--- a/core/modules/hardware-stats/data/etc/X11/Xsetup.d/99-detect-screens
+++ b/core/modules/hardware-stats/data/etc/X11/Xsetup.d/99-detect-screens
@@ -30,7 +30,10 @@ bash <<"HEREDOC"
done
rm -f -- "$TF" "$XRANDR" "$TMP"
- curl --data "uuid=$UUID" --data "type=~screens" "${POSTDATA[@]}" "$SLX_REMOTE_LOG"
+ # Note, the report is sent only on the first X startup, and we actually use the event server-side
+ # to determine when we reach the graphical login screen for simple performance measurements, so
+ # keep that in mind if you ever fiddle around here.
+ curl -m 4 -sS --data "uuid=$UUID" --data "type=~screens" "${POSTDATA[@]}" "$SLX_REMOTE_LOG"
HEREDOC
) &