Commit 5c7b21ca authored by Lambros Lambrou's avatar Lambros Lambrou Committed by Commit Bot

[remoting host] Increase X session logging timeout.

Only the first 30 seconds of the X11 session logs are kept. This
increases it to 5 minutes to capture more debugging output from the
session. For example, some session programs may be started more than
30s into the session (because of an X-GNOME-Autostart-Delay key or
the session is slow to start), and it can be helpful to see the
initial output from all startup programs.

Bug: 749215
Change-Id: I12ba7ca252719e6fba36afcd8995049c29204ec3
Reviewed-on: https://chromium-review.googlesource.com/1103542
Commit-Queue: Lambros Lambrou <lambroslambrou@chromium.org>
Reviewed-by: default avatarJamie Walch <jamiewalch@chromium.org>
Cr-Commit-Position: refs/heads/master@{#575757}
parent 9b0efaf6
...@@ -117,7 +117,7 @@ SHORT_BACKOFF_THRESHOLD = 5 ...@@ -117,7 +117,7 @@ SHORT_BACKOFF_THRESHOLD = 5
MAX_LAUNCH_FAILURES = SHORT_BACKOFF_THRESHOLD + 10 MAX_LAUNCH_FAILURES = SHORT_BACKOFF_THRESHOLD + 10
# Number of seconds to save session output to the log. # Number of seconds to save session output to the log.
SESSION_OUTPUT_TIME_LIMIT_SECONDS = 30 SESSION_OUTPUT_TIME_LIMIT_SECONDS = 300
# Host offline reason if the X server retry count is exceeded. # Host offline reason if the X server retry count is exceeded.
HOST_OFFLINE_REASON_X_SERVER_RETRIES_EXCEEDED = "X_SERVER_RETRIES_EXCEEDED" HOST_OFFLINE_REASON_X_SERVER_RETRIES_EXCEEDED = "X_SERVER_RETRIES_EXCEEDED"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment