wakatime-mode icon indicating copy to clipboard operation
wakatime-mode copied to clipboard

prevent making too many api requests

Open alanhamlett opened this issue 11 years ago • 0 comments

When handling the buffer modify event, only send an api request if one of these is true:

  1. the current file has changed since the last api request
  2. the last api request was sent over 2 minutes ago

alanhamlett avatar Dec 21 '13 14:12 alanhamlett