Description of problem: Display channel details is slow on channels with many packages. With a fedora9 channel with around 9000 packages I'm seeing the channel details page take minutes to display. Example when running over VPN this is taking over 5 minutes to display. When running with a local DB connection it's taking over 1 minute to display. Version-Release number of selected component (if applicable): Spacewalk 0.2 How reproducible: Always Steps to Reproduce: 1. Create a custom channel with over 9000 packages 2. View channel details, ChannelDetails.do 3. Actual results: With a local connection it takes about a minute or more to load Expected results: Should load quicker Additional info: I think this might be slow because of the below line in ChannelDetailsAction.java: request.setAttribute("pack_size", chan.getPackages().size());
Justin addressed this with commit: http://git.fedoraproject.org/git/?p=spacewalk.git;a=commitdiff;h=f78241a84cac7b5cca0a9cb66b9cbd167df2313f This is in 'master' and will be part of sw 0.3
Verified on spacewalk-java-0.3.7-1.el5.sw. Loading of channel details for F9 channel with 12K+ packages took less than 1 minute.
Spacewalk has been released for some time.