8b73df0cf5
If the project is in a group, the `group.refresh_members_authorized_projects` is made non-blocking, and we call `current_user.refresh_authorized_projects` directly. Projects in a personal namespace are more difficult. Rather than passing the `blocking:` parameter through the entire `add_master` chain, have the `AuthorizedProjectsWorker` automatically inline authorizations for three IDs or less. Since the maximum number of IDs in this path is 2, that has the same effect. |
||
---|---|---|
.. | ||
bin | ||
config | ||
controllers | ||
db/production | ||
factories | ||
features | ||
finders | ||
fixtures | ||
helpers | ||
initializers | ||
javascripts | ||
lib | ||
mailers | ||
migrations | ||
models | ||
policies | ||
presenters | ||
requests | ||
routing | ||
rubocop/cop | ||
serializers | ||
services | ||
sidekiq/cron | ||
support | ||
tasks | ||
unicorn | ||
uploaders | ||
validators | ||
views | ||
workers | ||
factories_spec.rb | ||
rails_helper.rb | ||
rake_helper.rb | ||
simplecov_env.rb | ||
spec_helper.rb |