How can I set the Github refresh interval so it picks up commits immediately

Everything works allright, commits, smart commits are working etc. However it takes quite some time before changes are picked up.

 

Is there a way to setup the interval in such a way that commits are picked up immediately?

2 answers

I would suggest a post commit hook that makes a callback to the application server requesting a repository incremental index for the specific repo. Have never done it myself, but it should be possible.

Not sure how to do that exactly. But worth a try.

 

Also, would configuring the servlet perhaps be a option? Any experience with this? 

plugins/servlet/oauth/authorize

https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-oauth-authentication

Suggest an answer

Log in or Join to answer
Community showcase
Emilee Spencer
Published 2 hours ago in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

22 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot