Skip to content

Commit 341de74

Browse files
committed
Typos
1 parent 8db2246 commit 341de74

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

prismic/connection.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ def get_max_age(headers):
7171
if expire_header is not None:
7272
m = re.match("max-age=(\d+)", expire_header)
7373
if m:
74-
# The Prismic API is sending very high expeiery times (10 years) for articles, which
75-
# makes it seem like it's using milliseconds rather than seconds. Some caching libraries
76-
# (including AppEngine Memcache) sees this 10 year value as an error and refuses to
77-
# store or retreive the cached value
74+
# The Prismic API is sending very high expiry times (10 years) for articles, which
75+
# makes it seem like it's using milliseconds rather than seconds. Some caching
76+
# libraries (including AppEngine Memcache) sees this 10 year value as an error and
77+
# refuses to store or retrieve the cached value
7878
return int(m.group(1)) / 1000
7979
return None

0 commit comments

Comments
 (0)