mirror of
https://github.com/jazzband/django-ddp.git
synced 2026-03-16 22:40:24 +00:00
Remove debug argment from PostgresGreenlet.
This commit is contained in:
parent
81bedca997
commit
96c53649b8
3 changed files with 3 additions and 4 deletions
|
|
@ -22,6 +22,7 @@ develop
|
|||
* Tox test suite updated to runs against Python 2.7/3.3/3.4/3.5 and
|
||||
Django 1.8/1.9.
|
||||
* Build wheels from tox environment to ensure consistency.
|
||||
* Remove `debug` argment from `PostgresGreenlet` class (unused).
|
||||
|
||||
0.18.1 (2015-11-06)
|
||||
-------------------
|
||||
|
|
|
|||
|
|
@ -103,9 +103,7 @@ class DDPLauncher(object):
|
|||
# shutdown existing connections
|
||||
close_old_connections()
|
||||
|
||||
DDPLauncher.pgworker = PostgresGreenlet(
|
||||
connection, debug=debug,
|
||||
)
|
||||
DDPLauncher.pgworker = PostgresGreenlet(connection)
|
||||
|
||||
# use settings.WSGI_APPLICATION or fallback to default Django WSGI app
|
||||
from django.conf import settings
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ class PostgresGreenlet(gevent.Greenlet):
|
|||
|
||||
"""Greenlet for multiplexing database operations."""
|
||||
|
||||
def __init__(self, conn, debug=False):
|
||||
def __init__(self, conn):
|
||||
"""Prepare async connection."""
|
||||
super(PostgresGreenlet, self).__init__()
|
||||
import logging
|
||||
|
|
|
|||
Loading…
Reference in a new issue