Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to change default FishEye/Crucible polling interval?

PhillipB September 15, 2011

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
Atlassian Team members are employees working across the company in a wide variety of roles.
April 5, 2014

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

sharkmerry1 May 14, 2015

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

Sergey Svishchev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 2, 2015

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

2 votes
Scott Dudley [Inactive]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 27, 2012

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

2 votes
EddieW
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 15, 2011

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.

PhillipB September 15, 2011

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.

EddieW
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 15, 2011

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)

PhillipB September 15, 2011

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>


EddieW
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 15, 2011

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

1 vote
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 15, 2012

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.

1 vote
3layer (expert) December 14, 2011

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 :(

0 votes
LeonardoL
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 25, 2012

Another improvement request:

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

Cheers,

Leonardo.

Sergey Svishchev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 28, 2013

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

0 votes
Rune_Engseth March 1, 2012

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

Can someone from Atlassian please answer this?

0 votes
cedexis_2 January 31, 2012

Has there been a resolution to this yet?

Craig Solinski March 7, 2012

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

Thank you,

Craig

0 votes
David Kramer October 20, 2011

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

PhillipB October 20, 2011

No solution found yet

0 votes
EddieW
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 15, 2011

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
AUG Leaders

Atlassian Community Events