On Tue, Feb 5, 2013 at 2:08 PM, Hilton Gibson <[email protected]> wrote:
> Ok. We have one person with about 20000 submissions.
> When they login, it takes forever.
> I suspect this submission archive and also searching collections for
> "in-workflow" submissions.
> Any tips on how to optimise?

According to how I read the code, it shouldn't be so:
1) An iterator is used
2) Only a fixed number of items is displayed (hardcoded to 50)
3) This should really return only in_archive items, not unfinished
submissions: 
https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-api/src/main/java/org/dspace/content/Item.java#L258

That said, I didn't actually run the code, so you're probably right
for some weird reason.

If you don't need it, just blank the method.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to