wakatime-mode
wakatime-mode copied to clipboard
prevent making too many api requests
When handling the buffer modify event, only send an api request if one of these is true:
- the current file has changed since the last api request
- the last api request was sent over 2 minutes ago