The code was trying to use ConnectToDatabase to connect to the shadow db after quietly_check_login() had already called it for us under the covers _without_ the useshadowdb parameter.  So reports were being run against the main database, triggering UI stalls.  r=endico@mozilla.org
The code was trying to use ConnectToDatabase to connect to the shadow db after quietly_check_login() had already called it for us under the covers _without_ the useshadowdb parameter.  So reports were being run against the main database, triggering UI stalls.  r=endico@mozilla.org

ikpcdoctor/git-clone---branch-release-5.0-stable-https-git.mozilla.org-bugzilla-bugzilla-,bugzilla/bugzilla,dylanwh/bugzilla,GNOME/bugzilla-gnome-org-upstream,dylanwh/bugzilla,ikpcdoctor/git-clone---branch-release-5.0-stable-https-git.mozilla.org-bugzilla-bugzilla-,oyang/bugzilla,dklawren/bugzilla,ikpcdoctor/git-clone---branch-release-5.0-stable-https-git.mozilla.org-bugzilla-bugzilla-,edmorley/bugzilla,dklawren/bugzilla,talatdayyan/bugzilla,dylanwh/bugzilla,bugzilla/bugzilla,edmorley/bugzilla,edmorley/bugzilla,talatdayyan/bugzilla,bugzilla/bugzilla,ikpcdoctor/git-clone---branch-release-5.0-stable-https-git.mozilla.org-bugzilla-bugzilla-,oyang/bugzilla,dklawren/bugzilla,bugzilla/bugzilla,GNOME/bugzilla-gnome-org-upstream,dklawren/bugzilla,oyang/bugzilla,oyang/bugzilla,talatdayyan/bugzilla,GNOME/bugzilla-gnome-org-upstream,dylanwh/bugzilla,edmorley/bugzilla,GNOME/bugzilla-gnome-org-upstream,dylanwh/bugzilla,dklawren/bugzilla,talatdayyan/bugzilla,ikpcdoctor/git-clone---branch-release-5.0-stable-https-git.mozilla.org-bugzilla-bugzilla-,GNOME/bugzilla-gnome-org-upstream,talatdayyan/bugzilla,edmorley/bugzilla,oyang/bugzilla