Comments (11)
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.
Sure, but not this week :\ Have to catch up with other stuff.
from awestruct.
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.
Let me know when you have a test for this @bartoszmajsak.
from awestruct.
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.
@gunnarmorling Any better if you add
generation:
:in_threads: null
to your _site/config.yml
?
from awestruct.
Yes, in fact it does. Thanks! Are there any implications to using this setting?
from awestruct.
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.
@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.
from awestruct.
@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)
- fix home page get started instructions HOT 4
- Rake Preview HOT 1
- Error on awestruct --init HOT 3
- no styles in a new bootstrap based project HOT 2
- How to set the deploy username? HOT 2
- compiling bootstrap js HOT 2
- sassc gem breaks pipeline HOT 1
- awestruct quietly exits when there are ERB errors in site.yml HOT 2
- Update my account HOT 1
- Sitemap plugin: unable to ignore .htaccess in subdirectories (for example "/foo/.htaccess") generally
- http://awestruct.org/ is dead HOT 2
- Post date doesn't correctly support 2020+ dates HOT 3
- An error occurred: no implicit conversion of nil into String
- awestruct --init without parameter creates an error HOT 2
- asciidocotor dependecy fix to 1.5.x, what is with 2.x support? HOT 4
- engine.site.pages_by_output_path is nil in lib/awestruct/rack/generate.rb HOT 2
- http://awestruct.org/ leads to casino website HOT 8
- [Chore] gemspec enhancement
- Rename master branch to main? HOT 1
- require libraries only when the minification is enabled
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awestruct.