Replies: 3 comments 1 reply
-
Please paste full code here |
Beta Was this translation helpful? Give feedback.
-
This is how i create casbin cached enforcer instance and intialized it with expire time and enabled cache. `
` First question this expire time passed in Below is cached enforcer authorisation method present in casbin library `
} Implementation of `
} Implementation of `
} So we see we are not using expire time in set method ? |
Beta Was this translation helpful? Give feedback.
-
@yugant007 plz create a github issue |
Beta Was this translation helpful? Give feedback.
-
I am using CachedEnforcer, i have enabled cached by calling
EnableCache(true)
method. Also i have set key TTL asSetExpireTime(10)
. But when deep dive in casbin code, i don't see keys getting expired. I am using golang.Beta Was this translation helpful? Give feedback.
All reactions