Skip to content

Commit b7c6fce

Browse files
committed
increase the size of the local payload check
1 parent f06d805 commit b7c6fce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pusher/pusher_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def trigger(self, channels, event_name, data, socket_id=None):
9191
raise ValueError("event_name too long")
9292

9393
data = data_to_string(data, self._json_encoder)
94-
if sys.getsizeof(data) > 10240:
94+
if sys.getsizeof(data) > 30720:
9595
raise ValueError("Too much data")
9696

9797
channels = list(map(validate_channel, channels))

0 commit comments

Comments
 (0)