fly-apps / fly-apps/dockerfile-rails

`--max-idle=n` should now be added for Puma

Open
#57 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dockerfile
Stars
559
Forks
42
PR merge metrics
No merged PRs in 30d

Description

The readme mentions:

>--max-idle=n - exit afer n seconds of inactivity. Supports [iso 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) and [sleep](https://man7.org/linux/man-pages/man1/sleep.1.html#DESCRIPTION) syntaxes. Uses passenger for now, awaiting https://github.com/puma/puma/issues/2580 support.

Puma has just added Shutdown on Idle on https://github.com/puma/puma/pull/3209 🎉

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the README section documenting `--max-idle=n` and review Puma pull request #3209 to understand the supported option. Trace where the generator currently uses Passenger for this behavior, then update the generated Dockerfile path and verify that the README and resulting behavior use Puma instead.

Written by the indexing model from the issue text.

Assessment

Tech stack
dockerfile, rails
Domain
build-system, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.