Skip to content

Commit

Permalink
minor adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
ciur committed Dec 9, 2024
1 parent a731897 commit d597fd3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion s3worker/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ class Settings(BaseSettings):
@lru_cache()
def get_settings():
return Settings()

1 change: 0 additions & 1 deletion s3worker/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ def remove_page_thumbnail_task(page_ids: list[str]):
)
def generate_preview_task(doc_id: str):
logger.debug('Task started')
Session = db.get_db()

try:
with Session() as db_session:
Expand Down

0 comments on commit d597fd3

Please sign in to comment.