nickva opened a new pull request, #6070:
URL: https://github.com/apache/couchdb/pull/6070

   As discussed in the comments of the new IAM plugin in [1], it would be nice 
to have a per-plugin supervisor-level context for each plugin. So, for example, 
they can create some kind of a ETS cache table for their tokens. This is what 
we implement here. The API is simple:
   
     * `sup_initialize() -> Ctx`
     * `sup_cleanup(Ctx) -> ok`
   
   The APIs are optional to implement. The name pattern mirror the regular 
plugin API names: `initialize(...) -> {ok, ..., Ctx}` and `cleanup(Ctx) -> ok`
   
   [1] https://github.com/apache/couchdb/pull/6069
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to