Created
April 26, 2022 08:15
-
-
Save code-review-doctor/62bafaf147f5448ea3c29d199ae1aaeb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try: | |
self.time_to_live_seconds = int(ttl) | |
except ValueError as e: | |
logger.error('TTL must be a number; got "{ttl}"') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment