daltonmatos/wsgid — Issue #29: Provide a reusable zeromq Context
Author: daltonmatos
Created: 2011-12-24 19:17:54+00:00
State: open
Labels: feature

Provide a reusable zeromq Context so plugins can make use of it. Zeromq docs say that we must have only *one* Context per process (http://zguide.zeromq.org/page:all#Getting-the-Context-Right) and since all plugins are executed by the same wsgid instance, plugins that want to use zeromq should have a way to get to the Context.

Something like this:

from wsgid.zmq import Context