Remove non-working monkeypatch for throttling

This commit is contained in:
Max Wofford
2025-06-13 16:06:45 -04:00
parent fa1cba832a
commit b9a3fbae8f

View File

@@ -11,9 +11,5 @@ Rails.configuration.to_prepare do
end
end
# Monkeypatch Airtable rate limit to be more conservative
Norairrecord::Client.send(:remove_const, :AIRTABLE_RPS_LIMIT) if Norairrecord::Client.const_defined?(:AIRTABLE_RPS_LIMIT)
Norairrecord::Client.const_set(:AIRTABLE_RPS_LIMIT, 1) # Set to 1 requests per second
Doorkeeper::ApplicationsController.layout "application" # show oauth2 admin in normal hackatime ui
end