1. 22 10月, 2017 11 次提交
  2. 21 10月, 2017 4 次提交
  3. 20 10月, 2017 4 次提交
  4. 19 10月, 2017 2 次提交
  5. 18 10月, 2017 10 次提交
  6. 17 10月, 2017 7 次提交
  7. 16 10月, 2017 2 次提交
    • S
      Don't create build failed todo when build is retried · 62478864
      Sean McGivern 提交于
      When a build is retried automatically, we close any open todos. However, we do
      that _before_ creating a new build failed todo.
      
      To solve this, we check if the build is retried before creating the todo. We
      also ensure that the build _instance_ has the correct attribute set, without
      needing to reload it from the database.
      62478864
    • S
      Make usage ping scheduling more robust · f4e94c6f
      Sean McGivern 提交于
      On GitLab.com, we see that cron jobs sometimes don't run. This appears to be
      because the process that polls for current cron jobs only has a 60 second
      validity period, so if (for whatever reason) it misses those 60 seconds, we have
      to wait until the next execution.
      
      For the usage ping, this is particularly problematic, as that's only scheduled
      to run once a week.
      
      Changing it to run for every minute in a 10 minute period should work around
      this, if the above diagnosis is correct. The job itself obtains an exclusive
      lease for 24 hours, so rescheduling in quick succession is safe.
      f4e94c6f