Skip to content

Commit

Permalink
Merge pull request #797 from maykinmedia/feature/1773-delete-requests…
Browse files Browse the repository at this point in the history
…-logs

[#1773] Bumped log-outgoing-requests and added setting for deleting logs
  • Loading branch information
alextreme authored Oct 23, 2023
2 parents 0f2795c + 0c940bf commit 7f8de14
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ django-js-asset==1.2.2
# django-mptt
django-localflavor==3.1
# via -r requirements/base.in
django-log-outgoing-requests==0.5.0
django-log-outgoing-requests==0.5.2
# via -r requirements/base.in
django-mptt==0.13.4
# via django-filer
Expand Down
2 changes: 1 addition & 1 deletion requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ django-localflavor==3.1
# via
# -c requirements/base.txt
# -r requirements/base.txt
django-log-outgoing-requests==0.5.0
django-log-outgoing-requests==0.5.2
# via
# -c requirements/base.txt
# -r requirements/base.txt
Expand Down
2 changes: 1 addition & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ django-localflavor==3.1
# via
# -c requirements/ci.txt
# -r requirements/ci.txt
django-log-outgoing-requests==0.5.0
django-log-outgoing-requests==0.5.2
# via
# -c requirements/ci.txt
# -r requirements/ci.txt
Expand Down
4 changes: 3 additions & 1 deletion src/open_inwoner/conf/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,9 @@
#
LOG_OUTGOING_REQUESTS_DB_SAVE = config("LOG_OUTGOING_REQUESTS_DB_SAVE", default=True)
LOG_OUTGOING_REQUESTS_RESET_DB_SAVE_AFTER = None # reset config after $ minutes

LOG_OUTGOING_REQUESTS_MAX_AGE = config(
"LOG_OUTGOING_REQUESTS_MAX_AGE", default=30
) # clean logs after 30 days

#
# AUTH settings - user accounts, passwords, backends...
Expand Down

0 comments on commit 7f8de14

Please sign in to comment.