mirror of
https://github.com/SrIzan10/hc-harbor.git
synced 2026-05-01 10:45:21 +00:00
Remove non-working monkeypatch for throttling
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user