typesafehub / ghpullrequest-validator

A simple utility to run pull requests against jenkins jobs. Uses Akka.
30 stars 9 forks source link

Reduce unneeded pr checking #50

Closed adriaanm closed 11 years ago

adriaanm commented 11 years ago

While looking at our logs I noticed we bombarded jenkins when we got our first PR for the gh-pages branch. This PR need not be validated, and we won't succeed in starting a job, so we keep asking jenkins where it is.

While I was at it, I also added some logging to see how much we could save by looking at the last-updated timestamp of a PR and only acting when it's later than last time we checked.

We could increase our checking frequency if we make fewer API calls each iteration.

jsuereth commented 11 years ago

LGTM