CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • CiviGroup Roles Sync module slows user login
Pages: [1]

Author Topic: CiviGroup Roles Sync module slows user login  (Read 452 times)

trevorforrest

  • I’m new here
  • *
  • Posts: 28
  • Karma: 0
  • CiviCRM version: 4.5 beta8
  • CMS version: Drupal
  • MySQL version: 5.5
  • PHP version: 5.x
CiviGroup Roles Sync module slows user login
June 01, 2014, 04:29:53 pm
I am current running a number of different installs of CiviCRM 4.4.5, 4.4.4 & 4.4.3 all tied to Drupal 7. There is one particular install which has just over 60 roles in drupal and 60+ groups in Civicrm that CiviGroup Roles Sync must synchronize to manage permissions. I notice that login takes a very long time whenever the CiviGroup Roles Sync module is enabled to facilitate this synchronisation. We have seen login times of between 30 and 60 seconds. If I disable the module login happens at its usual speed. Please verify and advise as to a solutions to this issue.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: CiviGroup Roles Sync module slows user login
June 01, 2014, 04:44:21 pm

if i had to take a wild guess, this is most likely due to the roles sync code not being optimized to handle a large number of groups and/or roles

Your best bet would be to debug the code and figure out a smarter way of handling things. If you are not a coder, might want to hire someone from our providers listing

please do submit your improvements back to the code base so others can benefit

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • CiviGroup Roles Sync module slows user login

This forum was archived on 2017-11-26.