about summary refs log tree commit diff
path: root/app/lib/fast_ip_map.rb
diff options
context:
space:
mode:
authorJames Tucker <jftucker@gmail.com>2022-11-07 19:00:27 -0800
committerGitHub <noreply@github.com>2022-11-08 04:00:27 +0100
commit833d9c2f1c66b97faf11fb285a8b639fdca24069 (patch)
treef437934106fb30483d26d3a42c6c4f7ad79399f4 /app/lib/fast_ip_map.rb
parent9f4930ec11b4185fcb17e5394fd0234dfcf16ed3 (diff)
Improve performance by avoiding method cache busts (#19957)
Switch to monkey-patching http.rb rather than a runtime extend of each
response, so as to avoid busting the global method cache. A guard is
included that will provide developer feedback in development and test
environments should the monkey patch ever collide.
Diffstat (limited to 'app/lib/fast_ip_map.rb')
0 files changed, 0 insertions, 0 deletions