Closed paneq closed 12 years ago
I also try to establish in this commit a basic culture of testing :) What do you think @perplexes , @pawelpacana ?
I totally support this since it:
@paneq Can you please rebase on master?
yep.
Closing in favor of #12
As stated in: http://zguide.zeromq.org/page:all#Getting-the-Context-Right : "You should create and use exactly one context in your process"
Sometimes the programmer might want to create the Context itself and let the handler use it. It can be done in two ways:
a) setting
Mongrel2.zmq_context
b) providing it as a dependency when creating new Connection:But most people do not have such needs so by default we create our own context with 1 thread for IO.