Commit Graph

6 Commits (59e3a7f87bd7d855774ef8caa1a7d795059251fc)

Author SHA1 Message Date
Eugen Rochko 66436d0895
Improve e-mail digest ()
- Reduce time-to-digest from 20 to 7 days
- Fetch mentions starting from +1 day since last login
- Fix case when last login is more recent than last e-mail
- Do not render all mentions, only 40, but show number in subject
- Do not send digest to moved accounts
- Do send digest to silenced accounts
Eugen Rochko 93537c5560
Disable retries on all scheduled tasks ()
Eugen Rochko d98de8ada7
Get rid of all batch order warnings ()
Eugen Rochko 91c929a42c
Keep scheduler jobs unique until they're done ()
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
Eugen Rochko ed867eca9d
Move e-mail digest task to sidekiq, reduce workload, improve hint ()