django-dramatiq-pg's People
django-dramatiq-pg's Issues
Auth Error on EC2 Instance
Although, I am able to connect to RDS with the same username/password using SSH Tunnel but it gives an authentication error when I try to connect with dramatiq pg.
I am making a connection string as postgres://username:password@db-rds-link/db-name
Start-up sequencing issue
There's a startup sequence issue: when django starts up, it first imports all the apps, and all of their models, then invokes the AppConfigs' ready()
functions.
This means your code may be importing tasks indirectly, whose decorator tries to get_broker
.
But we only register our broker in ready()
, meaning the default RabbitMQ broker is used.
A kludgy work-around is in the dummy-broker branch, where on import we register a dummy broker which just accumulates a list of registered tasks, then provides a method to re-register (and re-validate) those tasks against our real broker once we're ready.
https://github.com/uptick/django-dramatiq-pg/compare/cjm/dummy-broker
This is showing to be workable in testing, but feels very dirty and brittle to me.
Provide management command wrappers for queue maintenance tools
By wrapping in manage.py we can ensure the projects settings are consistent.
Don't we need a DbConnectionsMiddleware ?
... like django-dramatiq has ?
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.