Giter VIP home page Giter VIP logo

Comments (5)

biemond avatar biemond commented on September 26, 2024

ok,

we added this timeout cause of the WLST domain daemon, when the py code is not a valid, it will fail and I can't see it and continue forever.

is the app so big that you get a timeout. Probably there is some wlst error in my wls deployment type .
else we can ask @hajee and maybe set this parameter on the wls_setting type

from biemond-orawls.

nanliu avatar nanliu commented on September 26, 2024

I'm able to login to the app after the puppet run, it just takes a while to deploy. I was able to bump the timeout in easy_type and it no longer generated the timeout error. Tough problem if invalid py code simply hangs forever.

from biemond-orawls.

biemond avatar biemond commented on September 26, 2024

good,

Probably the wls_deployment is the only one which can take a long time. But when it hangs on a py formatting error it will a bug of me in one of the py scripts. I didn't validate or test all the parameter combinations

But the timeout is necessary I think when you run puppet in the background and set the timeout parameter on forever.

from biemond-orawls.

hajee avatar hajee commented on September 26, 2024

You could change line to have a longer timeout. Best thing would be if we could add a timeout parameter to each type. I'll think about that one.

from biemond-orawls.

hajee avatar hajee commented on September 26, 2024

The Oracle custom types base on easy_type use this:

....

      if timeout_specified
        daemon.execute_sql_command(command, outFile.path, timeout_specified)
      else
        daemon.execute_sql_command(command, outFile.path)
      end
      File.read(outFile.path)
    end

    # This is a little hack to get a specified timeout value
     def timeout_specified
      if respond_to?(:to_hash)
        to_hash.fetch(:timeout) { nil} #
      else
        nil
      end
    end

Maybe you can use this also!

from biemond-orawls.

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.