Skip to content

Commit

Permalink
Decrease number of alerts.
Browse files Browse the repository at this point in the history
100 is way too much alerts to request by default.
  • Loading branch information
denpamusic committed Oct 15, 2023
1 parent 36f6643 commit 3295ab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyplumio/frames/requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class AlertsRequest(Request):
def create_message(self, data: EventDataType) -> bytearray:
"""Create a frame message."""

return bytearray([data.get(ATTR_INDEX, 0), data.get(ATTR_COUNT, 100)])
return bytearray([data.get(ATTR_INDEX, 0), data.get(ATTR_COUNT, 10)])


class SchedulesRequest(Request):
Expand Down

0 comments on commit 3295ab6

Please sign in to comment.