On 23 August 2015 at 23:37, Andrea Schweer <schw...@waikato.ac.nz> wrote:

> On 21/08/15 23:15, Sean Carte wrote:
>
>> When I download an item from my repository I have to wait for
>> google-analytics to respond. When the network gets busy this causes delays
>> and even time-outs.
>>
>> [...]
>>
>> Is there some way that I can prevent DSpace from attempting to contact
>> google-analytics?
>>
>
> I believe you can do this by commenting out the Google Analytics bean
> here:
> https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/webapp/WEB-INF/spring/applicationContext.xml#L55
> That should stop DSpace from trying to log bitstream views with Google
> Analytics.
>
> You might also like to file a bug (https://jira.duraspace.org/browse/DS);
> logging statistics really shouldn't prevent the user from downloading the
> file! It looks like there's been a similar discussion for JSPUI:
> https://jira.duraspace.org/browse/DS-1925.


Thank you, Andrea. I have created the issue:
https://jira.duraspace.org/browse/DS-2718

Meanwhile I did as you suggested and commented out the GA bean; that has
resolved the issue for those servers that aren't using GA. Management are
not convinced that I should disable GA for our institutional repository,
which is using GA, however.

Sean
--
------------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to