Skip to content

Commit

Permalink
Change to log only when limit is above 10
Browse files Browse the repository at this point in the history
  • Loading branch information
richardr1126 committed Dec 25, 2024
1 parent 9ea3bc5 commit a64514b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def get_feed_skeleton():
body = algo(cursor, limit)

# Log the did of the requester in the database on first request
if limit > 1 and cursor is None:
if limit > 10 and cursor is None:
try:
requester_did = validate_auth(request)
logger.info(f'Authorized user: {requester_did}')
Expand Down

0 comments on commit a64514b

Please sign in to comment.