Skip to content

value of 1.0 for git--timer-sec is eating up 50% + of CPU #11

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

Open
dmaniloff opened this issue Dec 2, 2011 · 2 comments
Open

value of 1.0 for git--timer-sec is eating up 50% + of CPU #11

dmaniloff opened this issue Dec 2, 2011 · 2 comments

Comments

@dmaniloff
Copy link

I manually changed its value in git-emacs.el to sth like 10 secs:

(defcustom git--timer-sec 10.0
"Timer to monitor .git repo to update modeline"
:type '(number)
:group 'git-emacs)

.....however, when the task gets executed it is still ~40% CPU intensive. will gladly help out if you can provide some hints.

thanks!

@tsgates
Copy link
Owner

tsgates commented Dec 2, 2011

Thank you for the commit. I resolve this issue slightly different way. Could you check if it works properly after checking out the latest commit?

  • Taesoo

On Fri, Dec 02, 2011 at 10:05:28AM -0800, Diego Maniloff wrote:

I manually changed its value in git-emacs.el to sth like 10 secs:

(defcustom git--timer-sec 10.0
"Timer to monitor .git repo to update modeline"
:type '(number)
:group 'git-emacs)

.....however, when the task gets executed it is still ~40% CPU intensive. will gladly help out if you can provide some hints.

thanks!


Reply to this email directly or view it on GitHub:
#11

@dmaniloff
Copy link
Author

seems to work ok....thank you!

On Fri, Dec 2, 2011 at 1:53 PM, Taesoo Kim
[email protected]
wrote:

Thank you for the commit. I resolve this issue slightly different way. Could you check if it works properly after checking out the latest commit?

  • Taesoo

On Fri, Dec 02, 2011 at 10:05:28AM -0800, Diego Maniloff wrote:

I manually changed its value in git-emacs.el to sth like 10 secs:

(defcustom git--timer-sec 10.0
  "Timer to monitor .git repo to update modeline"
  :type '(number)
  :group 'git-emacs)

.....however, when the task gets executed it is still ~40% CPU intensive. will gladly help out if you can provide some hints.

thanks!


Reply to this email directly or view it on GitHub:
#11


Reply to this email directly or view it on GitHub:
#11 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants