wakatime / jetbrains-wakatime

IntelliJ IDEA, PyCharm, RubyMine, PhpStorm, AppCode, AndroidStudio, Goland, Rider, & WebStorm plugin for quantifying your coding.
https://wakatime.com/intellij-idea
BSD 3-Clause "New" or "Revised" License
1.13k stars 167 forks source link

IntelliJ Idea: updating wakatime status bar very often #184

Closed jirikrepl closed 3 years ago

jirikrepl commented 3 years ago

I started using wakatime 4 days ago. It worked well, but now in the status bar, it shows loading with "updating wakatime status bar" every 15 minutes.

Screen Shot 2021-08-26 at 17 33 30

After I enabled debug in settings, it showed 502 error

Screen Shot 2021-08-26 at 17 34 34
gandarez commented 3 years ago

It seems to be related to some downtime in the api server. Don't worry about it since all heartbeats are stored offline and synced when api goes online again.

fyi @alanhamlett

alanhamlett commented 3 years ago

Should be working now that the API is up and stable again.

jirikrepl commented 3 years ago

@alanhamlett Hello, thank you. Today I saw this in the status bar:

Screen Shot 2021-08-30 at 16 23 12

and then it changed to:

Screen Shot 2021-08-30 at 16 24 29
alanhamlett commented 3 years ago

Yes, it's related to API issues again. Once our API scales up to handle the load it will be working again.

jirikrepl commented 3 years ago

ok, no worries. Hope you scale it well:) But even when your API works fine I find it quite distracting to often see progress bar updating. Seems to be like every half hour or when the IDE window gets focus. Maybe it would be better to not show a progress bar at all, and just sync silently.

alanhamlett commented 3 years ago

Maybe it would be better to not show a progress bar at all, and just sync silently.

Yes, we need to fetch the code stats first then update the status bar (which automatically shows a progress bar) so it's instantaneous.

jirikrepl commented 3 years ago

ok:)

alanhamlett commented 3 years ago

Fixed in v13.1.0.