Git Product home page Git Product logo

Comments (4)

madmath03 avatar madmath03 commented on June 12, 2024 1

Hi @michidk ,

It seems like the issue your reported is the same as taigaio/taiga-back#1251.

/usr/src/taiga-back/taiga/base/utils/iterators.py:56: UnorderedObjectListWarning: Pagination may yield inconsistent results with an unordered object_list: <class 'taiga.projects.notifica tions.models.HistoryChangeNotification'> QuerySet.

This error is actually just a warning, so it's likely that there is no notifications to send.

Also, I don't think that the queue is completely empty, since our taiga instance did not send a single emails yet.

The current configuration has CHANGE_NOTIFICATIONS_MIN_INTERVAL set to 300, but this requires to provide a Celery worker to send emails in async mode, or to setup a a cron job in a side container to send the emails.

We're going to add env var to easily change this value and also set it to 0, ie. emails will be sent directly, thus not relying on any async mode to send emails.

from docker-taiga-back-base.

michidk avatar michidk commented on June 12, 2024

Or does the error mean, that there are just no notifications scheduled? But I think it would not return such an error if it has no emails queued. Also, I don't think that the queue is completely empty, since our taiga instance did not send a single emails yet.

from docker-taiga-back-base.

madmath03 avatar madmath03 commented on June 12, 2024

Hi @michidk

A TAIGA_NOTIFICATIONS_INTERVAL environment variable has been added and set to 0 by default (synchronous behavior by default) in #23.

Also, an example Celery container has been added to the docker-compose file in #26.
Feel free to check it out.

from docker-taiga-back-base.

michidk avatar michidk commented on June 12, 2024

Awesome!

from docker-taiga-back-base.

Related Issues (4)

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.