Set cache timeout in seconds
(self, timeout: int)
| 511 | return self.cache_dir / filename |
| 512 | |
| 513 | def set_timeout(self, timeout: int): |
| 514 | """Set cache timeout in seconds""" |
| 515 | self.default_timeout = max(0, int(timeout)) |
| 516 | debug_logger.log_info(f"Cache timeout updated to {timeout} seconds") |
| 517 | |
| 518 | def get_timeout(self) -> int: |
| 519 | """Get current cache timeout""" |
no test coverage detected