wakatime / micro-wakatime

Micro editor plugin for automatic time tracking and metrics generated from your programming activity.
https://wakatime.com/micro
23 stars 4 forks source link

dupe: threads in Lua #12

Closed Muhamad1705 closed 1 year ago

Muhamad1705 commented 1 year ago
          > Unfortunately there's no fnacy way to start threads in Lua (which is the plugins' language). By this reason at this time we need to wait for `checkCli()` to finish execution before actually opening the terminal. Also in micro everything seems to be run synchronous.

Regardless of whether this is fixable right now, this is still a pretty ridiculous downside to the plugin and needs to either be addressed or be given proper notice on the README. I decidedly won't be using this plugin due to the insane delay.

Here's a solution: Remembering the last time a check was made, and then not making a request for a week or at least a day later. Or caching the S3 bucket response, however you'd like to go about it.

In my opinion, update checking should be made part of the CLI itself, and not offloaded to the plugin to check.

A 2 second delay for using Micro is UNACCEPTABLE. This issue is not resolved.

Originally posted by @Xevion in https://github.com/wakatime/micro-wakatime/issues/5#issuecomment-1368779692

alanhamlett commented 1 year ago

Please don't create new issues when one already exists.