Skip to content

Commit 61ddf2e

Browse files
balogh.adam@icloud.combalogh.adam@icloud.com
authored andcommitted
fewer msg
1 parent 255d263 commit 61ddf2e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

server/activity_tracker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class ActivityStats:
2323
class PointsConfig:
2424
POINTS_PER_MESSAGE = 1
2525
POINTS_PER_SUCCESSFUL_INVITE = 80
26-
DAILY_MESSAGE_LIMIT = 15
26+
DAILY_MESSAGE_LIMIT = 10
2727

2828

2929
class ActivityTracker:
@@ -37,7 +37,7 @@ def __init__(self, get_table: Callable[[], TableContext]):
3737
"""
3838
self.get_table = get_table
3939
self._stats_cache: Dict[str, tuple[float, ActivityStats]] = {}
40-
self._cache_ttl = 30 # Cache TTL in seconds
40+
self._cache_ttl = 10 # Cache TTL in seconds
4141

4242
async def increment_message_count(
4343
self, user_address: str, miner_token: str = None

0 commit comments

Comments
 (0)