Skip to content

Commit

Permalink
Limit RTS message size
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Feb 19, 2025
1 parent 33f75b6 commit 6fba0ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion odds/common/realtime_status/peewee/peewee_rts.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def __init__(self) -> None:

def set(self, ctx: str, message: str, kind='info') -> None:
params = dict(
message=message,
message=message[:254],
kind=kind,
updated=datetime.datetime.now()
)
Expand Down

0 comments on commit 6fba0ed

Please sign in to comment.