Coder Social home page Coder Social logo

Comments (2)

bmartinn avatar bmartinn commented on July 29, 2024

Hi @OfirKP , the trains package was designed with always on network connection in mind, unfortunately there is no 'offline' option at the moment.

That said let me expand on the network issues you seem to run into:

If a connection is dropped (such as in your case), it will retry to connect to the server, these are the retry messages you keep getting.

If a connection was dropped after a socket was created (post handshake) it will use the socket request timeout (imagine a very very very slow download connection, this is essentially the same timeout). This timeout is defined to 10 minutes, after 10min passed and the request didn't return fully, a new connection will be established.

Setting retry limit to zero will not effect the socket timeout, and I suspect that this is was you observed, when you completely cut the network connections.

My quickest solution for you is to mark out the Task.init() line, whenever you are in unstable network environment (such as, commuting on a train 😃 ).

from clearml.

bmartinn avatar bmartinn commented on July 29, 2024

Closing, due to lack of activity.

from clearml.

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.