Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--heartbeat-rate-limit-seconds flag is not properly configured in the config file #1147

Closed
leekib opened this issue Jan 2, 2025 · 1 comment · Fixed by #1154
Closed

--heartbeat-rate-limit-seconds flag is not properly configured in the config file #1147

leekib opened this issue Jan 2, 2025 · 1 comment · Fixed by #1154
Assignees
Labels

Comments

@leekib
Copy link

leekib commented Jan 2, 2025

I’m using the VSCode extension, and even though I set heartbeat_rate_limit_seconds = 10 in the wakatime.cfg file, it seems that the actual heartbeat_rate_limit_seconds is being set to the default value of 120.

Looking at the code, it appears that the heartbeat_rate_limit_seconds value from wakatime.cfg is only read if the flag is explicitly set to 0. This behavior feels more like a bug than an intended design.

Additionally, even though I’ve set debug = true, I’m unable to see any debug logs. I’ve already made a simple fix for this issue and submitted a PR. Please let me know if I’ve missed anything.

I recently discovered WakaTime and thought it would be fun to show, in near real-time, what code I’m working on through my blog. So I hope this issue gets resolved soon!

Environment:

  • OS: mac os 15.1.1(24B91)
  • Platform: arm64

Logs:

@leekib leekib added the bug Something isn't working label Jan 2, 2025
@github-actions github-actions bot added the triage label Jan 2, 2025
@gandarez gandarez removed the bug Something isn't working label Jan 2, 2025
@gandarez gandarez self-assigned this Jan 2, 2025
@gandarez
Copy link
Member

gandarez commented Jan 2, 2025

Looking into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants