Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Mongrel2Connection #3

Merged
merged 1 commit into from about 2 years ago

2 participants

Joe Server James Dennis
Joe Server
jserver commented

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

James Dennis
Owner
j2labs commented

Nice, thanks!

James Dennis j2labs merged commit 5a18c5a into from
James Dennis j2labs closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

May 16, 2012
Joe Server Update listsurf.py with msg_conn 7fb9ba6
This page is out of date. Refresh to see the latest.

Showing 2 changed files with 3 additions and 2 deletions. Show diff stats Hide diff stats

  1. +1 1  README.md
  2. +2 1  listsurf.py
2  README.md
Source Rendered
@@ -34,7 +34,7 @@ So we see login/logout urls, a url for creating an account, a url for adding an
34 34 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.
35 35
36 36 config = {
37   - 'mongrel2_pair': ('ipc://127.0.0.1:9999', 'ipc://127.0.0.1:9998'),
  37 + 'msg_conn': Mongrel2Connection('tcp://127.0.0.1:9999','tcp://127.0.0.1:9998'),
38 38 'handler_tuples': handler_tuples,
39 39 'template_loader': load_jinja2_env('./templates'),
40 40 'db_conn': db_conn,
3  listsurf.py
@@ -3,6 +3,7 @@
3 3
4 4 import logging
5 5
  6 +from brubeck.connections import Mongrel2Connection
6 7 from brubeck.request_handling import Brubeck
7 8 from brubeck.templating import load_jinja2_env
8 9
@@ -35,7 +36,7 @@
35 36
36 37 # Application config
37 38 config = {
38   - 'mongrel2_pair': ('tcp://127.0.0.1:9999', 'tcp://127.0.0.1:9998'),
  39 + 'msg_conn': Mongrel2Connection('tcp://127.0.0.1:9999','tcp://127.0.0.1:9998'),
39 40 'handler_tuples': handler_tuples,
40 41 'template_loader': load_jinja2_env('./templates'),
41 42 'db_conn': db_conn,

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.