Comment 5 for bug 1566845

Revision history for this message
Crag Wolfe (cwolfe) wrote :

One thing I noticed in debugging this issue is that the 'Too many connections' error often happens when counting the number of events in a stack. We ought not to be hitting the db to count events per stack every time we want to create an event. My patch above is one way to deal with the issue.