summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
) &