Skip to content

Commit

Permalink
Bump max unreliable size
Browse files Browse the repository at this point in the history
  • Loading branch information
sasial-dev committed Feb 20, 2025
1 parent 8975514 commit 8ab91c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/config/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ At this time Zap does not support two way events. As events have almost no overh
This field determines the type of event. It can be either `Reliable` or `Unreliable`.

- Reliable events are guaranteed to arrive at their destination in the order they were sent.
- Unreliable events are not guaranteed to arrive at their destination, and they are not guaranteed to arrive in the order they were sent. Unreliable events also have a maximum size of 900 bytes.
- Unreliable events are not guaranteed to arrive at their destination, and they are not guaranteed to arrive in the order they were sent. Unreliable events also have a maximum size of 1000 bytes.

### `call`

Expand Down
2 changes: 1 addition & 1 deletion zap/src/parser/convert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use super::{
};

// We subtract two for the `inst` array.
pub const MAX_UNRELIABLE_SIZE: usize = 898;
pub const MAX_UNRELIABLE_SIZE: usize = 998;

struct Converter<'src> {
config: SyntaxConfig<'src>,
Expand Down

0 comments on commit 8ab91c9

Please sign in to comment.