Giter Site home page Giter Site logo

urlmon number of retries about alerta-contrib HOT 3 CLOSED

alerta avatar alerta commented on August 26, 2024
urlmon number of retries

from alerta-contrib.

Comments (3)

satterly avatar satterly commented on August 26, 2024

Yes, that's exactly what count is for, isn't it? What happens if you try setting it to "2" or more?

from alerta-contrib.

msupino avatar msupino commented on August 26, 2024

hmm.. i set it to 3, but after looking at the code, there is a sleep(10) afterwards, so thats 30 seconds, i though it will be 3 minutes.. testing again

from alerta-contrib.

satterly avatar satterly commented on August 26, 2024

There is a LOOP_EVERY global variable which is set to 60 seconds and a retry interval which is not a variable and is set to 10 seconds. Probably both of these could be configuration settings.

The LOOP_EVERY 60 seconds means check this list of URLs every 60 seconds. The 10 second setting means if the count is greater than 1 then retry that URL if it fails after waiting 10 seconds.

from alerta-contrib.

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.