Closed (fixed)
Project:
Webform
Version:
6.x-2.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Oct 2009 at 10:08 UTC
Updated:
20 Nov 2009 at 00:40 UTC
Jump to comment: Most recent file
I have a somewhat big site (1000 users, 6000 profile field values).
I was having problems downloading submissions (csv format) from a large webform: 200 submissions, 80 questions: server timeout after a few minutes.
I tracked it down to profile_load_profile, which takes 20 ms to execute on my db.
when I commented it out, I got it instantly.
I haven't looked too closely at the code, but I think it's invoked repeatedly to load the same profile from global user...
Comments
Comment #1
espie commentedHere's a patch that caches the values...
Comment #2
espie commentedPing ? anyone alive ? I know you fixed a security bug, but this is a serious problem. Hampers down my site seriously, and the patch does indeed fix the problem
Comment #3
quicksketchThis problem was actually fixed in the security update in the 2.8 version. Unfortunately that also broke profile values entirely, which was fixed in #604958: %profile and %server default values broken. This patch is no longer necessary.