[CalendarServer-users] Find group membership of users on client side

Gaurav Jain monkeyfdude at gmail.com
Fri Dec 5 13:53:10 PST 2014


Thanks a lot...I will change the code....

Last question "faulted in" means "cache everything" or "dont cache"


Best Regards,


On Fri, Dec 5, 2014 at 1:51 PM, Cyrus Daboo <cdaboo at apple.com> wrote:

> Hi Gaurav,
>
> --On December 5, 2014 at 1:35:04 PM -0800 Gaurav Jain <
> monkeyfdude at gmail.com> wrote:
>
>  Since I am in development mode and probably will not be dealing with large
>> scale in near future.....is there a way I can simply ignore cache or cache
>> everything?
>>
>> cache everything will be better as I am not dealing with scale for right
>> now.
>>
>
> There is no configuration option for that. If you want to change the code,
> look for the module twistedcaldav/directory/directory.py and locate the
> method getGroups() in the class GroupMembershipCacheUpdater. Change the "if
> guids is None:" statement to "if True:". That should force all groups to be
> faulted in.
>
> --
> Cyrus Daboo
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-users/attachments/20141205/fcd7b9c2/attachment-0001.html>


More information about the calendarserver-users mailing list