Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Mongrel2Connection #3

Merged
merged 1 commit into from

2 participants

Joe Server The Ghost Of J2 Labs
Joe Server

Looks like the new version of brubeck now has msg_conn instead of a mongrel2_pair, updated the README as well.

The Ghost Of J2 Labs
Owner

Nice, thanks!

The Ghost Of J2 Labs j2labs merged commit 5a18c5a into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 16, 2012
  1. Update listsurf.py with msg_conn

    Joe Server authored
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 2 deletions.
  1. +1 −1  README.md
  2. +2 −1  listsurf.py
2  README.md
View
@@ -34,7 +34,7 @@ So we see login/logout urls, a url for creating an account, a url for adding an
The next are of concern is the Brubeck config. The name of the values should speak for themselves so I will just copy the config here.
config = {
- 'mongrel2_pair': ('ipc://127.0.0.1:9999', 'ipc://127.0.0.1:9998'),
+ 'msg_conn': Mongrel2Connection('tcp://127.0.0.1:9999','tcp://127.0.0.1:9998'),
'handler_tuples': handler_tuples,
'template_loader': load_jinja2_env('./templates'),
'db_conn': db_conn,
3  listsurf.py
View
@@ -3,6 +3,7 @@
import logging
+from brubeck.connections import Mongrel2Connection
from brubeck.request_handling import Brubeck
from brubeck.templating import load_jinja2_env
@@ -35,7 +36,7 @@
# Application config
config = {
- 'mongrel2_pair': ('tcp://127.0.0.1:9999', 'tcp://127.0.0.1:9998'),
+ 'msg_conn': Mongrel2Connection('tcp://127.0.0.1:9999','tcp://127.0.0.1:9998'),
'handler_tuples': handler_tuples,
'template_loader': load_jinja2_env('./templates'),
'db_conn': db_conn,
Something went wrong with that request. Please try again.