diff --git a/app.py b/app.py index ad98132..2fc29fa 100644 --- a/app.py +++ b/app.py @@ -296,7 +296,7 @@ def add_recent_link(url, target_ip): pipe.lpush(key, new_item) if filtered: pipe.rpush(key, *filtered[:99]) - pipe.ltrim(key, 0, 9) + pipe.ltrim(key, 0, 99) pipe.execute() redis_client.incr("stats:recent_links_added")