Skip to content

Reduce wait timings for Sidekiq jobs

yorickpeterse-staging requested to merge reduce-sidekiq-wait-timings into master

What does this MR do?

This reduces the time spent waiting for Sidekiq jobs to complete in various places.

Why was this MR needed?

Creating a project can time out if it takes more than 60 seconds for an authorized projects job to complete, producing an HTTP 500 in the process. Further, AuthorizedProjectsWorker jobs usually seem to take around 10 seconds with only very little time spent doing actual work. Reducing the wait interval should hopefully reduce the time spent in these jobs.

Does this MR meet the acceptance criteria?

cc @dblessing since you ran into users experiencing the mentioned problems.

Merge request reports