Update app.py

This commit is contained in:
gru
2025-08-30 17:59:25 +02:00
parent 6347a96db8
commit 79b7ea77f4

2
app.py
View File

@@ -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")