adapted jupyter_helper ttl

This commit is contained in:
2024-06-24 17:30:21 +02:00
parent 29a122209a
commit e01c8050ee

View File

@@ -39,9 +39,11 @@ class MySQLiteYStore(SQLiteYStore):
super().__init__(*args, **kwargs)
self.db_path = MySQLiteYStore.db_path
print(f"Using custom SQLiteYStore at {self.db_path}")
self.log.info(f"Using custom SQLiteYStore with path {self.db_path}")
if self.document_ttl is not None:
print(f"Using database_ttl: {self.document_ttl}")
self.log.info(f"Using database_ttl: {self.document_ttl}")
self.document_ttl = int(self.document_ttl)