would be far more efficient for you to setup a post-commit hook, "poling must die" :P
2013/1/28 <rdohe...@smugmug.com> > For the past few weeks our git checkouts from github have gotten slower > and slower (now resulting in updates for one small commit taking > 1 minute > and multiple commit updates taking up to 10 minutes). We have the git > plugin setup to poll every 2 minutes. > > Doing some debugging I see jenkins running this command as an example: > > {code} > git show --no-abbrev --format=raw -M --raw > 78647a604113f2a92bc5a2bcfe66d11f32b9eb5d..dfa77c7d049c3f50ca4dc40905320f5479a54227 > {code} > > This commands appears to take up a lot of time as I did a `ps aux | grep > git` multiple times over a few minutes and the above git command was > displayed while top showed git taking up 99% of the jenkins server's cpu. > > Jenkins log: > > Started on Jan 28, 2013 11:34:50 AM > Using strategy: Default > [poll] Last Build : #109 > [poll] Last Built Revision: Revision da02f948df4007572b88b7a5cf9734065c1fe2c7 > (origin/-----) > Fetching changes from the remote Git repositories > Fetching upstream changes from g...@github.com:---/----.git > Polling for changes in > Done. Took 7 min 17 sec > Changes found > > > Is there some way to speed up this command? (via changing jenkins > configuration or possibly a server config change). > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group, send email to jenkinsci-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.