Skip to content

Commit

Permalink
feat(app):
Browse files Browse the repository at this point in the history
1. move const to separated files
  • Loading branch information
MorvanZhou committed Apr 25, 2024
1 parent 1328c46 commit 78fc225
Show file tree
Hide file tree
Showing 40 changed files with 503 additions and 488 deletions.
2 changes: 1 addition & 1 deletion src/retk/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
async def startup_event():
if not config.is_local_db():
add_rotating_file_handler(
log_dir=const.RETHINK_DIR.parent.parent / "logs",
log_dir=const.settings.RETHINK_DIR.parent.parent / "logs",
max_bytes=10 * 1024 * 1024,
backup_count=10,
)
Expand Down
388 changes: 0 additions & 388 deletions src/retk/const.py

This file was deleted.

Loading

0 comments on commit 78fc225

Please sign in to comment.