Skip to content

Conversation

@basil-squared
Copy link
Contributor

os.execute blocks the rest of the code during execution, which in most cases would not be a problem, as wakatime tends to clean itself up fast. However, on lower end connections, it freezes for quite a while, and quite often, creating an unpleasant experience.

My solution makes it to where the actual command to send heartbeats is handled in the background, so os.execute finishes instantly, even if wakatime takes a little bit.

@espcaa
Copy link
Owner

espcaa commented Jun 22, 2025

wo nice!

@espcaa
Copy link
Owner

espcaa commented Jun 22, 2025

nice!!

@espcaa espcaa merged commit dcf6c3b into espcaa:main Jun 22, 2025
1 check passed
@espcaa
Copy link
Owner

espcaa commented Jun 22, 2025

ty!!

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