Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 44c6e3e7 authored by Ye Wen's avatar Ye Wen
Browse files

Fix bug1435331: add a gservices setting for the retry threshold of auth expired failure.

parent 350feeb8
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2682,6 +2682,15 @@ public final class Settings {
         */
        public static final String GTALK_USE_BARE_JID_TIMEOUT_MS = "gtalk_use_barejid_timeout_ms";

        /**
         * This is the threshold of retry number when there is an authentication expired failure
         * for Google Talk. In some situation, e.g. when a Google Apps account is disabled chat
         * service, the connection keeps failing. This threshold controls when we should stop
         * the retrying.
         */
        public static final String GTALK_MAX_RETRIES_FOR_AUTH_EXPIRED =
            "gtalk_max_retries_for_auth_expired";

        /**
         * Enable use of ssl session caching.
         * 'db' - save each session in a (per process) database