Comments (4)
I'm 👍 on doing it by default - if its stable and doesn't hugely impact the overall compile time, might as well do it 🤷
As discussed privately, we're both a bit ick on this but so long as it remains "write once" I think we can draw the line of how much Unix-ish-only stuff we've got going on at just after this.
from rails-template.
I submitted this to capistrano-rails on the off-chance they are keen capistrano/rails#258
from rails-template.
An update on this after living with it for a while:
This technically works every time but it's not always effective. We have still noticed some issues serving traffic on small (t3.medium) EC2 instances while Webpack is compiling.
We have been successful using cpulimit
rather than nice
but we had to compile it ourselves from https://github.com/opsengine/cpulimit to get the version which also limits child processes.
I am now doubtful that this is something we want in this template because it's use is very specific but I'll leave this issue open for a while so we can discuss it.
from rails-template.
I'm closing this because it's quite niche and requires a very specific setup on the server to work so is not suitable for this template
from rails-template.
Related Issues (20)
- Upgrade aws-actions/configure-aws-credentials to latest version
- Move from SASS `@import` to `@use`
- Let's add `erblint`
- Disable Rails/SquishedSQLHeredocs rubocop by default
- Remove before_fork, on_worker_boot callbacks from puma config if they are no longer required
- Support Rails 7.1 HOT 2
- Consider using msgpack serialiser
- Rails 7.1 generates Dockerfile by default - integrate it into our Dockerfile HOT 1
- Consider replacing sprockets with propshaft HOT 2
- Discuss adopting Rails 7.1+ config.application_controller.raise_on_missing_callback_actions HOT 2
- Support "documents" as assets out of the box HOT 1
- Use `always` for `SelfClosingTag` in erb-lint HOT 2
- Consider adding TestProf
- Check our parameter sanitisation and filtering for logging & sentry HOT 1
- Move off `axe-matchers`
- Can we make the session cookie SameSite=Strict (currently defaulting to SameSite=Lax)? HOT 1
- Do we want ci to copy example.env instead of having its own list of env vars HOT 1
- Devise variant is consistently failing lighthouse accessibility audit
- Consider setting `action_on_unpermitted_parameters` to `:raise` in development and/or test HOT 1
- Explore moving from devise to Rails 8 authentication generator
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 rails-template.