Giter Site home page Giter Site logo

django-dramatiq-pg's People

Contributors

funkybob avatar jarekwg avatar kemar avatar monokrome avatar mwfister avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.