I have a problem with the latest wakatime-cli (https://github.com/wakatime/wakatime-cli/issues/509). Emacs lags for half a second whenever error is called from the process sentinel, that is when CLI returns an error. By default, the package ignores 0 & 102 and calls error on any other code.
However, it seems like the CLI returns 1 when offline or when the server load is high, so Emacs basically becomes unusable, as it lags on every CLI call. So I added a variable to customize the ignored exit codes like this:
This should be fixed in the latest wakatime-cli. If not, please open a new issue there since wakatime-cli should never exit with 1 when working offline.
I have a problem with the latest wakatime-cli (https://github.com/wakatime/wakatime-cli/issues/509). Emacs lags for half a second whenever
error
is called from the process sentinel, that is when CLI returns an error. By default, the package ignores 0 & 102 and callserror
on any other code.However, it seems like the CLI returns 1 when offline or when the server load is high, so Emacs basically becomes unusable, as it lags on every CLI call. So I added a variable to customize the ignored exit codes like this: