aboutsummaryrefslogtreecommitdiff
path: root/google
diff options
context:
space:
mode:
authorarithmetic1728 <58957152+arithmetic1728@users.noreply.github.com>2020-08-06 16:50:06 -0700
committerGitHub <noreply@github.com>2020-08-06 16:50:06 -0700
commit42321bafd38a8bd806f4d01bfa0eda3b5a961667 (patch)
treeee5adbb8979b7d629468ef0a68587aadab030976 /google
parent20f82e22b7e8c6c7fdd29e08eaf7b4cf2abdcf37 (diff)
downloadgoogle-auth-library-python-42321bafd38a8bd806f4d01bfa0eda3b5a961667.tar.gz
fix: reduce refresh clock skew to 10 seconds (#581)
Diffstat (limited to 'google')
-rw-r--r--google/auth/_helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/google/auth/_helpers.py b/google/auth/_helpers.py
index ecb88ff..21c987a 100644
--- a/google/auth/_helpers.py
+++ b/google/auth/_helpers.py
@@ -22,7 +22,7 @@ import six
from six.moves import urllib
-CLOCK_SKEW_SECS = 300 # 5 minutes in seconds
+CLOCK_SKEW_SECS = 10 # 10 seconds
CLOCK_SKEW = datetime.timedelta(seconds=CLOCK_SKEW_SECS)