Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,828
Community Members
 
Community Events
165
Community Groups

How to change default FishEye/Crucible polling interval?

How can I change the default FishEye/Crucible polling interval?

When editing a repo I see there is an option to 'Use the system default settings for updates', but I'm not clear on where that system default is set.

10 answers

1 accepted

1 vote
Answer accepted
Nick Atlassian Team Apr 05, 2014

Just an FYI - Since FishEye 3.0 it has been possible to edit the default polling period for a FishEye instance.

Great!! but where are the directions? Googling just takes us back here, not very helpful

"To configure the default options for all repositories, click Defaults (under 'Repository Settings') in the left-hand nav panel [in Admin UI]"

I recently contacted Atlassian Support about this issue. They said that there is no way to do this at present, and although they would look for a workaround (beyond editing all of the repos manually), there's nothing to report yet.

However, this is a known feature request that they encourage us to vote for: https://jira.atlassian.com/browse/FE-490

IN your config.xml properties file is a section for repository defaults/

<repository-defaults>
	<linker/>
	<allow/>
	<tarball enabled="false" maxFileCount="0"/>
	<security allow-anon="true"><required-groups/></security>
    <text-indexer enabled="true"/><watches enabled="true"/>
	<commit-message-syntax syntax="plain"/>  
	<changeset-discussions enabled="true"/>
</repository-defaults>

You should be able to add an <updater pollPeriod="15m"/> element with an interval attribute, and restart fisheye.

Doesn't seem to work, running into parsing errors like

at line 221: Expected element 'linker@http://www.cenqua.com/fisheye/config-1'
instead of 'svn@http://www.cenqua.com/fisheye/config-1' here in element
repository-defaults@http://www.cenqua.com/fisheye/config-1

Tried putting in just updater element, and in SVN element, but keep running into errors on startup.

Where did you add that? There is no SVN element, so I suspect it is in the wrong parent. This is not in a specicifc repository, which might have an SVN element, but in the general reposiotry-defaults.

<repository-defaults>
<linker/>

<updater pollPeriod="15m"/>

<allow/>
<tarball enabled="false" maxFileCount="0"/>
<security allow-anon="true"><required-groups/></security>
<text-indexer enabled="true"/><watches enabled="true"/>
<commit-message-syntax syntax="plain"/>
<changeset-discussions enabled="true"/>
</repository-defaults>

Care to post your config.xml (exclusing any confidential data of coruse)

Tried that as well

line 231: Expected element 'allow@http://www.cenqua.com/fisheye/config-1' instead of 'updater@http://www.cenqua.com/fisheye/config-1' here in element repository-defaults

<repository-defaults>
<linker/>
<updater pollPeriod="15m"/>
<allow/>
<tarball enabled="false"/>
<security allow-anon="false" allow-logged-in="true" allow-anon-write="false" allow-logged-in-write="true">
<required-groups/> <required-write-groups/>
</security>
<text-indexer enabled="true"/>
<watches enabled="true"/>
<properties/>
<commit-message-syntax syntax="wiki"/>
<changeset-discussions enabled="true"/>
</repository-defaults>


Hmmm. I am going to see if I can dig up the xml schema used for the config file and straighten this out.

This is not documented anywhere. Atlassian really need to answer this seeing as there is no source for Fisheye. And where is the "poke Atlassian" button?

Update: I think it's kind of bullshit that this is not documented. The solution above looks feasible but don't work, at least on 2.5.6.

My workaround for this:

Open the config.xml in Intellij IDEA.

Do two xml refactorings :

1) click on the <svn> element and do add new subtag, only if not present, current file

2) click on <updated/> and do add attribute, and add the pollPeriod, 300s (or whatever interval).

Save, restart fisheye.

Hi all,

Looking at "config.xsd", it does not support the configuration above "<updater pollPeriod="15m"/>" in any point.

So, this tip does not make sense :(

Another improvement request:

https://jira.atlassian.com/browse/FE-490

Cheers,

Leonardo.

FE-490 has been implemented, apparently, and "It will be possible to configure defaults once FishEye 3.0 has been released."

Agree, this is unclear. I can't locate where to set the default polling interval

Can someone from Atlassian please answer this?

Has there been a resolution to this yet?

Hi, polling to a external github repo is occurring almost 4 times a minute. How to reduce polling interval for git?

Thank you,

Craig

Did anyone find the answer to this? I just tried it and got the same error.

2011-10-20 15:58:33,438 INFO - FishEye/Crucible 2.7.4 (20110928032505), Built on 2011-09-28
2011-10-20 15:58:33,447 INFO - Starting UpgradeManager ...
2011-10-20 15:58:36,021 ERROR - Errors parsing C:\views\fisheye\fecru-2.7.4\bin\..\config.xml:
2011-10-20 15:58:36,022 ERROR - at line 243: Expected element 'allow@http://www.cenqua.com/fisheye/config-1' instead of 'updater@http://www.cenqua.com/fisheye/config-1' here in element repository-defaults@http://www.cenqua.com/fisheye/config-12011-10-20 15:58:36,024 ERROR - Problem with config file: Error parsing config file (see logs): C:\views\fisheye\fecru-2.7.4\bin\..\config.xml

No solution found yet

IN your config.xml properties file is a section for repository defaults/

&lt;repository-defaults&gt;
	&lt;linker/&gt;
	&lt;allow/&gt;
	&lt;tarball enabled="false" maxFileCount="0"/&gt;
	&lt;security allow-anon="true"&gt;&lt;required-groups/&gt;&lt;/security&gt;
    &lt;text-indexer enabled="true"/&gt;&lt;watches enabled="true"/&gt;
	&lt;commit-message-syntax syntax="plain"/&gt;  
	&lt;changeset-discussions enabled="true"/&gt;
&lt;/repository-defaults&gt;

You should be able to add an &lt;updates&gt; element with an interval attribute, and restart fisheye.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

89 views 0 0
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you