Commit graph

3 commits

Author SHA1 Message Date
Tom Hughes
f07819d81a Rework application configuration
Use a preinitializer to load the settings from application.yml so
that they are available as early as possible. All settings can also
be overridden using environment variables.

The ad-hoc settins in environment.rb are then moved to this new
system so we have one consistent location for settings.
2010-08-04 22:06:05 +01:00
Tom Hughes
723cb57e6d Don't put MemoryLimit class in the OSM module as it breaks autoloading 2010-07-19 18:15:40 +01:00
Tom Hughes
5e2b8d087c Make memory limits configurable and make them work with passenger 2010-07-19 18:01:42 +01:00