Code Monkey home page Code Monkey logo

Comments (3)

jkandasa avatar jkandasa commented on June 26, 2024

hi @gpabdo thanks to report this issue.
I do not think we have a delay in message queue. The message queue is acting as buffer. I have modified the time.sleep to act on a valid values. If you set 0s this sleep will be skipped. this change is available in the main branch https://github.com/mycontroller-org/2mqtt/releases/tag/development

I will have a look into the queue code and fix it if I find a delay there.

from 2mqtt.

jkandasa avatar jkandasa commented on June 26, 2024

@gpabdo found the root cause, the issue is introduced in b0f46c1 to fix #1

I have to rewrite the queue package.

from 2mqtt.

jkandasa avatar jkandasa commented on June 26, 2024

@gpabdo this issue partially fixed on 546d5cd#diff-46374e5bbfeba39b9d47c02934dd4cf9e5f05bd2120ee837c8a0a8d0f73e5511

However now, the messages will not be kept on buffer, if the target device is not in up state

from 2mqtt.

Related Issues (3)

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.