We are seeing login delays of approximately 12 seconds on our site. I have tracked it down to the this piece of code in biblio.module

if ($type == 'after_update' && $category == 'account') {
menu_rebuild();
}

menu_rebuild() is being executed for every user login, it appears this is not necessary and is causing the long delay in the login process.

Comments

rjerome’s picture

You can comment that out without any major repercussions. I've reworked that in in later versions so that it only gets called if it REALLY needs to (i.e. the biblio menu related setting is changed). I'll try to work that into the 6.x-1.x code as well.

fzipi’s picture

I can confirm this bug. We had three different sites using ldap authentication, and login had nearly 30 secs of delay!

Commenting out these lines reduced significantly login time.

dbinoj’s picture

yeah happened to us too. is there any proper fix rather than commenting out the function? its been more than a year. i hope there are no side effects in commenting out the functions.

vm’s picture

i hope there are no side effects in commenting out the functions.

from the maintainer in comment #1

You can comment that out without any major repercussions.

liam morland’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

This version is no longer maintained. If this issue is still relevant to the Drupal 7 version, please re-open and provide details.