mirror of
https://github.com/openstreetmap/openstreetmap-website.git
synced 2025-08-16 17:07:06 +00:00
Add support for per-user limits on the rate changes can be made
This commit is contained in:
6
lib/tasks/update_functions.rake
Normal file
6
lib/tasks/update_functions.rake
Normal file
@ -0,0 +1,6 @@
|
||||
namespace :db do
|
||||
desc "Update database function definitions"
|
||||
task :update_functions => :environment do
|
||||
ActiveRecord::Base.connection.execute DatabaseFunctions::API_RATE_LIMIT
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user