Giter VIP home page Giter VIP logo

Comments (5)

alagoutte avatar alagoutte commented on June 19, 2024

Hi @chisho21

Thanks for PR, it will look

Can you explain when you get the issue ? (by default timeout is set to 0 -> indefinite )

from powerfgt.

chisho21 avatar chisho21 commented on June 19, 2024

I'm doing a foreach loop through ~100 remotely managed Fortigates in a separate script. Devices that are off or are not Fortigates cause that script to just hang and wait indefinitely.

from powerfgt.

alagoutte avatar alagoutte commented on June 19, 2024

Ok nice !

do you have a try / catch ?

May be set bigger timeout (it is very fast 5 sec)

What the use case ? (you can send me a mail (you can found on top of ps file))

from powerfgt.

chisho21 avatar chisho21 commented on June 19, 2024

I do have a try / catch in my code. But due to never erroring the catch is never triggers due to lack of time out. Tried (and failed) to accomplish with powershell jobs, but realized this was probably the more elegant solution.

from powerfgt.

alagoutte avatar alagoutte commented on June 19, 2024

Fixed on #56

Thanks !
I will be available on next release (for end of year i hope)

from powerfgt.

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.