-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Kate slowness with errors #21
Comments
This line require a change as this file was moved https://github.com/Tatsh/kate-wakatime/blob/master/wakatimeplugin.cpp#L36
|
My issue is that my API URL has a initial slash (https://wakapi.dev/api//v1/users/current/heartbeats.bulk) but this will be appended with the endpoint URL so doesn't work. |
Also on Kate starting I have tons of this:
Maybe instead to do various queries is enough to do just one. |
I will accept a PR to switch over to wakatime-cli #22. I did at one time have a branch for this change (back when wakatime was Python-based) but I found it to be oddly slow. The biggest concern for the subprocess code is to make certain that the thread is locked/unlocked properly so it cannot run twice simultaneously and does not double post. I still definitely prefer calling their API without calling a subprocess but ever since adding the heartbeat database code and then WakaTime switching to Go with BDB, this has become difficult to maintain. |
This issue is stale because it has been open for 30 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
This issue is stale because it has been open for 30 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
So I was getting some slowness inside Kate, running with shell I am getting this errors.
The line
kate-wakatime/wakatimeplugin.cpp
Line 620 in d6e5dcd
The text was updated successfully, but these errors were encountered: