Arjun Nair wrote: > Of the late, I have noticed that saving users or groups always takes a long > time (sometimes 30 secs or greater depending on how many users there are). > After digging through the code, I came upon the CoreContextImpl.onSave() > event listener. Every time you save a group (a group save is also triggered > when you save users), this function goes through the list of users in that > group, sets their branch, and saves them back to the database. This seems > very inefficient. Any reason we do it this way? I think we should this > differently. > > Arjun > _______________________________________________ > sipx-dev mailing list [email protected] > List Archive: http://list.sipfoundry.org/archive/sipx-dev > Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev > sipXecs IP PBX -- http://www.sipfoundry.org/ > > The implementation of CoreContextImpl.onSave() method causes the weird bug described in http://track.sipfoundry.org/browse/XX-7717. By removing the unnecessary code it's fixed that bug. See the patch for http://track.sipfoundry.org/browse/XX-7717.
Thanks, Ernest _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev sipXecs IP PBX -- http://www.sipfoundry.org/
