mirror of https://github.com/mastodon/mastodon
* Add "--exclude-suspended" to tootctl domains crawl This new option ignores any instances suspended server-wide as well as their associated subdomains. This queries all domain blocks up front, then runs a regexp on each domain. This improves performance over what may be the obvious implementation, which is to ask `DomainBlocks.blocked?(domain)` for each domain -- this hits the DB many times, slowing things down considerably. * cleaning up code style * Compiling regex * Removing ternary operator |
6 years ago | |
---|---|---|
.. | ||
assets | 8 years ago | |
devise | 7 years ago | |
generators | 7 years ago | |
json_ld | 6 years ago | |
mastodon | 6 years ago | |
paperclip | 6 years ago | |
tasks | 6 years ago | |
templates | 7 years ago | |
cli.rb | 6 years ago |