florentx / pgqueue Goto Github PK
View Code? Open in Web Editor NEWLight PgQ Framework - queuing system for PostgreSQL
Home Page: https://pypi.python.org/pypi/pgqueue
License: ISC License
Light PgQ Framework - queuing system for PostgreSQL
Home Page: https://pypi.python.org/pypi/pgqueue
License: ISC License
This is the logfile after the database server is restarted:
2014-06-11 13:18:25,312 WARNING PgQ Ticker: OperationalError: terminating connection due to administrator command
SSL connection has been closed unexpectedly
2014-06-11 13:21:45,438 WARNING PgQ Ticker: TypeError: 'NoneType' object is not iterable
2014-06-11 13:25:05,470 WARNING PgQ Ticker: TypeError: 'NoneType' object is not iterable
It makes easier to write comparisons:
if not event.retry or event.retry < 3:
event.tag_retry(60)
# versus
if event.retry < 3:
event.tag_retry(60)
When doing retry on thousands of events, I noticed the method is slow.
Maybe we can switch to Cursor.executemany instead of Cursor.execute for the Batch._flush_retry implementation.
... and measure if it gives some benefit.
It seems it's only available in web archive:
https://web.archive.org/web/20170613082246/http://skytools.projects.pgfoundry.org/skytools-3.0/
There are two options for installing psycopg2 - psycopg2
and psycopg2-binary
packages. Can you remove psycopg2
dependency from setup.py
and add hint about this on ImportError
exception for pycopg2
import?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.