Skip to content

fix(Event Loop): Allow keep-alives <= 5 secs#655

Merged
h3nill merged 4 commits intobytebeamio:mainfrom
danieldougherty:keep-alive
Aug 20, 2023
Merged

fix(Event Loop): Allow keep-alives <= 5 secs#655
h3nill merged 4 commits intobytebeamio:mainfrom
danieldougherty:keep-alive

Conversation

@danieldougherty
Copy link
Contributor

This PR removes the requirement that the keep alive timeout be at
least 5 seconds. This is in keeping with the MQTT spec, which
states that the keep alive value should be between 0 and 65535.
A value of 0 indicates that no keep-alive pings are sent to the
broker.

Issue: #643 - Keep Alive has an arbitrary limit

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • [ X ] Formatted with cargo fmt
  • [ X ] Make an entry to CHANGELOG.md if its relevant of user of the library. If its not relevant mention why.

danieldougherty and others added 2 commits July 3, 2023 16:18
This PR removes the requirement that the keep alive timeout be at
least 5 seconds. This is in keeping with the MQTT spec, which
states that the keep alive value should be between 0 and 65535.
A value of 0 indicates that no keep-alive pings are sent to the
broker.

Issue: bytebeamio#643 - Keep Alive has an arbitrary limit
@danieldougherty danieldougherty changed the title Keep alive fix(Event Loop): Allow keep-alives <= 5 secs Jul 3, 2023
Copy link

@h3nill h3nill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

few comments

@h3nill h3nill requested a review from yatinmaan July 13, 2023 10:23
@stale stale bot added the stale Not moving forward; blocked label Aug 2, 2023
@danieldougherty
Copy link
Contributor Author

Friendly ping. Is this still a viable change?

@stale stale bot removed the stale Not moving forward; blocked label Aug 4, 2023
@h3nill
Copy link

h3nill commented Aug 8, 2023

Hey, sorry for the delay. we have backlog of things to review and merge but we dont have enough bandwidth. I will try to get this reviewed and merged by this month.

@h3nill h3nill merged commit 3b8cac5 into bytebeamio:main Aug 20, 2023
@h3nill
Copy link

h3nill commented Aug 20, 2023

thank you @danieldougherty! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants