1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-22 02:28:17 +09:00
mastodon/app/controllers/api/web
Eugen Rochko cb5b5cb5f7
Slightly reduce RAM usage (#7301)
* No need to re-require sidekiq plugins, they are required via Gemfile

* Add derailed_benchmarks tool, no need to require TTY gems in Gemfile

* Replace ruby-oembed with FetchOEmbedService

Reduce startup by 45382 allocated objects

* Remove preloaded JSON-LD in favour of caching HTTP responses

Reduce boot RAM by about 6 MiB

* Fix tests

* Fix test suite by stubbing out JSON-LD contexts
2018-05-02 18:58:48 +02:00
..
base_controller.rb Improve web api protect (#6343) 2018-04-17 15:23:46 +02:00
embeds_controller.rb Slightly reduce RAM usage (#7301) 2018-05-02 18:58:48 +02:00
push_subscriptions_controller.rb Improve web api protect (#6343) 2018-04-17 15:23:46 +02:00
settings_controller.rb Improve web api protect (#6343) 2018-04-17 15:23:46 +02:00