Sha256: dee45bb2f118b8a2ac169278a91a72fed065731330ac15b98cbe3263fd9801e7
Contents?: true
Size: 403 Bytes
Versions: 7
Compression:
Stored size: 403 Bytes
Contents
require "rails/generators" module Suspenders module Production class TimeoutGenerator < Rails::Generators::Base def add_gem gem "rack-timeout", group: :production end def configure_rack_timeout append_file ".env", rack_timeout_config end private def rack_timeout_config %{RACK_TIMEOUT_SERVICE_TIMEOUT=10} end end end end
Version data entries
7 entries across 7 versions & 2 rubygems