]> git.openstreetmap.org Git - rails.git/blobdiff - config/environment.rb
Change server_settings to smtp_settings to avoid deprecation warning.
[rails.git] / config / environment.rb
index 6375a508643ebe9b2ad62b4bcb451c7246e3b2cc..ffd64eec9428fa2cd1ea0308b6242ef7a84bb2ed 100644 (file)
@@ -56,7 +56,7 @@ end
 # Include your application configuration below
 SERVER_URL = ENV['OSM_SERVER_URL'] || 'www.openstreetmap.org'
 
-ActionMailer::Base.server_settings = {
+ActionMailer::Base.smtp_settings = {
   :address  => "localhost",
   :port  => 25, 
   :domain  => 'localhost',
@@ -74,4 +74,11 @@ HTTP_OK = 200
 HTTP_PRECONDITION_FAILED = 412
 HTTP_EXPECTATION_FAILED = 417
 
+#Taming FCGI
+#
+COUNT = 0
+MAX_COUNT = 10000
+
+
+