Skip to content

XEP-0167: Make the schema tighter around bandwidth#1496

Open
linkmauve wants to merge 1 commit intoxsf:masterfrom
linkmauve:xep-0167-bandwidth
Open

XEP-0167: Make the schema tighter around bandwidth#1496
linkmauve wants to merge 1 commit intoxsf:masterfrom
linkmauve:xep-0167-bandwidth

Conversation

@linkmauve
Copy link
Member

The set of bandwidth types are known and constrained, and the value isn’t a string but an integer. I couldn’t find limits for said integer, but given it can be kb/s or b/s I went for an unsigned 32-bit integer, as that can represent up to 4 Gib/s (512 MiB/s), which should be enough for anybody™.

The set of bandwidth types are known and constrained, and the value
isn’t a string but an integer.  I couldn’t find limits for said integer,
but given it can be kb/s or b/s I went for an unsigned 32-bit integer,
as that can represent up to 4 Gib/s (512 MiB/s), which should be enough
for anybody™.
@github-actions github-actions bot added the Needs Council The affected XEP has the Council as Approving Body and it needs to decide on the change. label Jan 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Council The affected XEP has the Council as Approving Body and it needs to decide on the change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant