Skip to content

Conversation

@ErikBjare
Copy link
Member

@ErikBjare ErikBjare commented Dec 23, 2023

This implements the hybrid polling mechanism that augments the events-based method with a 10s poll, as we've discussed before (#69 (comment)).

This fixes bugs where if the starting/ending event is missed, and would've created a long continuous event, that period of time would be lost.

I generated this with gptme running GPT-4.

No idea if it works or not, but doesn't crash anyway.

It didn't work at first, but it works great now! (after 1min of testing)

@ErikBjare ErikBjare requested a review from iloveitaly December 23, 2023 18:14
@ErikBjare
Copy link
Member Author

@iloveitaly @modderme123 This seems to fix lots of issues I've had with gaps in the data.

Please give it a review, I want to merge and release a new beta with it asap :)

@ErikBjare
Copy link
Member Author

After a few days of testing, it seems solid, and fixes quite a few issues with the previous implementation.

@iloveitaly @modderme123 Feel free to still give it a review post-merge :)

@ErikBjare ErikBjare merged commit af38b35 into master Dec 26, 2023
@ErikBjare ErikBjare deleted the dev/macos-hybrid-polling branch December 26, 2023 13:57
@iloveitaly
Copy link
Contributor

NICE! Glad this is finally getting fixed. Thank you!

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.

3 participants