Commit Graph

3 Commits (d890bf94784a9818a203b26fc3893e64651cf2f8)

Author SHA1 Message Date
Eugen Rochko 6baf5099a6 Refactor fetching of remote resources () 2019-07-10 18:59:28 +02:00
Eugen Rochko ca1c696dbd Slightly reduce RAM usage ()
* 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
Akihiko Odaki fabc4af7ff Rename FetchRemoteResourceService to ResolveURLService ()
The service used to be named FetchRemoteResourceService resolves local
URL as well.
2018-01-22 14:24:22 +01:00