Code Monkey home page Code Monkey logo

Comments (13)

windreamer avatar windreamer commented on July 20, 2024

Thx. I will work on it.

from pymesos.

windreamer avatar windreamer commented on July 20, 2024

OK, this problem is a bit complicated.
_failover is a internal status to help pymesos decide whether or not to tear down the framework when process exits.
And user can make _failover True when using sched.stop(failover=True)

But I realize it is not enough to set _failover just when stop. When exceptions are raised, no stop would be called and the _failover will always False.

So I think we should add a default failover status when init the scheduler. And user can override the failover flag when stop.

from pymesos.

efritz avatar efritz commented on July 20, 2024

This would be great - for now I've basically done this by setting the flag to true directly after initialization (but since it is setting a private car it is a temporary hack).

from pymesos.

windreamer avatar windreamer commented on July 20, 2024

fixed in #74

from pymesos.

efritz avatar efritz commented on July 20, 2024

Any chance to cut a minor or patch version with this change?

from pymesos.

windreamer avatar windreamer commented on July 20, 2024

Of course! But I need to do some more test, and the new version I think will be available on Monday.

from pymesos.

efritz avatar efritz commented on July 20, 2024

Any progress on a new version? Sorry to keep pestering.

from pymesos.

windreamer avatar windreamer commented on July 20, 2024

https://github.com/douban/pymesos/releases/tag/0.2.14 0.2.14 has been released 2 days ago

from pymesos.

windreamer avatar windreamer commented on July 20, 2024

But it seems pypi is not up to date

from pymesos.

efritz avatar efritz commented on July 20, 2024

Sorry, didn't notice! Was waiting for the version in master to change.

from pymesos.

windreamer avatar windreamer commented on July 20, 2024

Damm, I forgot to bump the package version. My bad, 0.2.14 will be re-released shortly.

from pymesos.

efritz avatar efritz commented on July 20, 2024

Thanks!

from pymesos.

windreamer avatar windreamer commented on July 20, 2024

0.2.14 re-released.

from pymesos.

Related Issues (20)

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.