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

Configurable heartbeat offset / AFK timeout #156

Closed
muety opened this issue Apr 1, 2021 · 8 comments
Closed

Configurable heartbeat offset / AFK timeout #156

muety opened this issue Apr 1, 2021 · 8 comments
Labels
effort:3 enhancement New feature or request prio a

Comments

@muety
Copy link
Owner

muety commented Apr 1, 2021

Current default is two minutes, however, this might be made configurable on a per-user basis. However, already generated summaries wouldn't be affected in retrospect. One would have to regenerate all their summaries.

Originally requested by @Lucas-M-G in #82 (comment)

@jsbrain
Copy link

jsbrain commented Jan 8, 2023

Push!
This would be a great feature :)

@szczepaan
Copy link

Hi, it's been a while :)
any news when the 'keystroke timeout' param will be configurable per user ?

@muety
Copy link
Owner Author

muety commented Feb 2, 2023

After a lot of users have expressed their interest in this, I'll increase prio from B to A. Still can't give an estimate for when I'll get to this, sorry!

@muety muety added prio a and removed prio b labels Feb 2, 2023
@szczepaan
Copy link

szczepaan commented Feb 2, 2023

@muety how can I change the default value globally for all users globally?

@muety
Copy link
Owner Author

muety commented Feb 2, 2023

You can't, currently.

@alanhamlett
Copy link
Contributor

Here's the code we use at WakaTime to combine Heartbeats into Durations based on Keystroke Timeout:

https://gist.github.com/alanhamlett/0d0c496fe40d977dbdbf0abf0b34ec57

@ariaieboy
Copy link

ariaieboy commented Dec 18, 2023

I imported my data from Wakatime to my instance of Wakapi and the total time reported on Wakapi is 300 hours less than the total hours that Wakatime reports.
I think the reason behind it is that the AFK timeout between these 2 are different.
the default keystroke timeout in wakatime is 15min but according to this issue the default value for wakapi is 2 min

@muety
Copy link
Owner Author

muety commented Dec 18, 2023

I think the reason behind it is that the AFK timeout between these 2 are different.

Yes, correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort:3 enhancement New feature or request prio a
Projects
None yet
Development

No branches or pull requests

5 participants