Commit Graph

6 Commits (734d55c3cfbebb554c20e41ea8411a8195cd88bd)

Author SHA1 Message Date
aus-social 1f98eae1cf Lint pass ()
Eugen Rochko cb5b5cb5f7
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
Kazushige Tominaga cbe8743e47 Added #call spec ()
* Added #link_header spec

* Added #call spec

* Delete spec of private methods
Kazushige Tominaga 1167c6dbf8 Perform request spec ()
* Added #link_header spec

* Added #perform_request spec
Kazushige Tominaga 2bb393684b Added #link_header spec ()
Eugen Rochko c6b0311b86 Fix - Fetch remote accounts by URL from mentions
Fetching atom extracted from FetchRemoteAccountService and FetchRemoteStatusService
into FetchAtomService. Mentions of the constant "http://activityschema.org/collection/public"
skipped as it's not a real URL/user.