Code Monkey home page Code Monkey logo

Comments (11)

LightGuard avatar LightGuard commented on June 16, 2024

Any chance you could create a small test case or small site to demonstrate
this?

On Tuesday, July 26, 2016, Bartosz Majsak [email protected] wrote:

Having minify: true in site.yml and defined in pipeline.rb as below
causes generation process to hang.

transformer Awestruct::Extensions::Minify.new([:js])

Running awestruct built from master @a014121
a014121


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#526, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB1E61lEdN4ld6T3kKa4a_W5P-lSiSUks5qZb-bgaJpZM4JU4rR
.

Sent from Gmail Mobile

from awestruct.

bartoszmajsak avatar bartoszmajsak commented on June 16, 2024

Sure, but not this week :\ Have to catch up with other stuff.

from awestruct.

LightGuard avatar LightGuard commented on June 16, 2024

Not a problem.

On Tuesday, July 26, 2016, Bartosz Majsak [email protected] wrote:

Sure, but not this week :\ Have to catch up with other stuff.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#526 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAB1E6wNZeZ3XnT8LbaJxoCqLgKB0gdsks5qZcuggaJpZM4JU4rR
.

Sent from Gmail Mobile

from awestruct.

LightGuard avatar LightGuard commented on June 16, 2024

Let me know when you have a test for this @bartoszmajsak.

from awestruct.

gunnarmorling avatar gunnarmorling commented on June 16, 2024

Same issue with debezium.io when moving to 0.6.0.alpha4 (see debezium/debezium.github.io#406). Any idea what's wrong here? Should we simply skip minifying?

from awestruct.

zbynek avatar zbynek commented on June 16, 2024

@gunnarmorling Any better if you add

generation:
  :in_threads: null

to your _site/config.yml?

from awestruct.

gunnarmorling avatar gunnarmorling commented on June 16, 2024

Yes, in fact it does. Thanks! Are there any implications to using this setting?

from awestruct.

LightGuard avatar LightGuard commented on June 16, 2024

It stops generation from being run in parallel. Depending on how complicated and large the site is it may mean something like a few seconds of additional build time to a couple of minutes (but I doubt debezium is that large, developers.redhat.com was a few years ago).

from awestruct.

zbynek avatar zbynek commented on June 16, 2024

@gunnarmorling the option is passed to the parallel package, you can check https://github.com/grosser/parallel#usage for details.

Setting in_threads to null overrides the default introduced in
3da3c68
so the parallelization falls back to the default defined here:
https://github.com/grosser/parallel/blob/master/lib/parallel.rb#L248
which may be more reasonable.

On the Jenkins site switching from Awestruct default to parallel default sped up the process twice AND made it less buggy (Coderay seems not to be thread-safe, maybe minifier has the same problem).

@LightGuard I'd suggest removing the Awestruct default.

from awestruct.

gunnarmorling avatar gunnarmorling commented on June 16, 2024

from awestruct.

zbynek avatar zbynek commented on June 16, 2024

@gunnarmorling the default was changed in 0.6.0RC1 which also has a fix for #549 so I think your site should compile without any changes to the config and without any workarounds in the build script. Please give it a try and let us know if it worked for you. Then we could promote RC1 to stable (likely in ~2 weeks if no negative feedback).

from awestruct.

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.