• Sean McGivern's avatar
    Record metrics for JobWaiter timeouts · c7bfe9fc
    Sean McGivern authored
    When a JobWaiter times out, the caller doesn't know that all the jobs
    have completed. This is particularly important for the
    AuthorizedProjectsWorker, which is called with a timeout of 10 seconds
    from various controllers.
    
    In order to improve that worker, we first want to track how often these
    waiters time out, as compared to how often we attempt to wait. Based on
    the results, we can consider different approaches to making this meet
    its timeout more frequently.
    c7bfe9fc
waitable_worker.rb 1.23 KB