Skip to content

Commit 722a612

Browse files
committed
Match the comment and code
1 parent 20b2aa9 commit 722a612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/api/v2/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def create_key(self, project):
1919
Build API keys are valid for 3 hours,
2020
and can be revoked at any time by hitting the /api/v2/revoke/ endpoint.
2121
"""
22-
# Use the project or default build time limit + 15% for the API token
22+
# Use the project or default build time limit + 25% for the API token
2323
delta = (project.container_time_limit or settings.BUILD_TIME_LIMIT) * 1.25
2424
expiry_date = timezone.now() + timedelta(seconds=delta)
2525
name_max_length = self.model._meta.get_field("name").max_length

0 commit comments

Comments
 (0)