Comments (2)
I will answer my own question:
Each Connection
needs its own detector. In the code above they share the detector due to the use of partial
from functools
.
def connectionFactory(self, *args, **kwargs):
return txpostgres.Connection(*args, detector=LoggingDetector(), **kwargs)
Will fix the problem.
from txpostgres.
That was indeed the problem, glad you found it!
from txpostgres.
Related Issues (20)
- psycopg2==2.4.4 has a problem with txpostgres HOT 2
- Add some kind of self-healing to the pool class HOT 3
- Unhandled errors on TCP connection timeout HOT 7
- Unhandled error after `connect()` fails HOT 8
- No way to specify cursor_factory=DictCursor HOT 2
- python setup.py install failing with import error HOT 3
- Implementation of ReconnectingConnectionPool ? HOT 11
- Large amounts of notifications can block reactor HOT 3
- psycopg2.OperationalError: SSL connection has been closed unexpectedly HOT 3
- Shutting down postgres with a valid connection throws ValueError on doRead
- Integrate psycopg2cffi library HOT 3
- `ProgrammingError` after reconnecting. HOT 7
- No results to fetch on insert with runQuery HOT 1
- Connection.runInteraction() may not close cursor? HOT 3
- Connection.runOperation() and runQuery() may not close the cursor, either HOT 5
- zope implements vs implementer for Python3 HOT 1
- Support Python 3 HOT 7
- a more erganomic connection pool HOT 1
- Allow access to rowcount for operations HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from txpostgres.