Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

Consider caching policies to avoid marshalling every time #117

Open
todo bot opened this issue May 27, 2019 · 0 comments
Open

Consider caching policies to avoid marshalling every time #117

todo bot opened this issue May 27, 2019 · 0 comments

Comments

@todo
Copy link

todo bot commented May 27, 2019

// TODO: Consider caching policies to avoid marshalling every time
func (s *store) loadPolicy(ns string, config *common.StaticCollectionConfig) (privdata.CollectionAccessPolicy, error) {
logger.Debugf("[%s] Loading collection policy for [%s:%s]", s.channelID, ns, config.Name)
colAP := &privdata.SimpleCollection{}
err := colAP.Setup(config, mspmgmt.GetIdentityDeserializer(s.channelID))


This issue was generated by todo based on a TODO comment in eb44829 when #116 was merged. cc @bstasyszyn.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant