An error occurred fetching the project authors.
  1. 03 Feb, 2022 1 commit
    • Matthias Käppler's avatar
      Record and publish application boot time · 335317a0
      Matthias Käppler authored
      This change captures and emits the time it takes
      for the primary Rails process to start up.
      
      - Log it to application JSON log
      - Emit it to prometheus
      - Print it to the console message
      
      This is only active for Puma, Sidekiq and Rails console.
      
      Changelog: added
      335317a0
  2. 27 Oct, 2021 1 commit
    • Heinrich Lee Yu's avatar
      Enable real-time issue assignees by default · 099f9e0e
      Heinrich Lee Yu authored
      This also mounts the Action Cable engine all the time.
      Mounting the engine has minimal impact on memory so we should just mount
      it all the time to reduce configuration complexity.
      
      Changelog: added
      099f9e0e
  3. 20 Oct, 2021 1 commit
    • Heinrich Lee Yu's avatar
      Add atomic sidekiq scheduler · 02464df7
      Heinrich Lee Yu authored
      This retrieves jobs from Sidekiq scheduled sets using a Lua script. This
      allows multiple processes to process the queue efficiently.
      02464df7
  4. 19 May, 2021 1 commit
  5. 11 May, 2021 1 commit
  6. 12 Feb, 2021 1 commit
  7. 07 Jul, 2020 1 commit
  8. 03 Jul, 2020 1 commit
  9. 23 Jun, 2020 1 commit
  10. 10 Jun, 2020 1 commit
  11. 09 Jun, 2020 1 commit
    • Heinrich Lee Yu's avatar
      Allow ActionCable in-app mode · e84915d9
      Heinrich Lee Yu authored
      Adds an option in gitlab.yml to run ActionCable in in-app mode
      
      Connection pool settings are also adjusted to account for the extra
      threads
      e84915d9
  12. 03 May, 2020 1 commit
  13. 17 Feb, 2020 1 commit
    • Bob Van Landuyt's avatar
      Count threads all that run in multithreaded env · 65d112fa
      Bob Van Landuyt authored
      This adds the threads we know are running next to the worker threads
      for Puma and Sidekiq. Adding them here makes sure our connection pool
      for the database is large enough.
      
      In puma, the main thread also connects to the database, so we need to
      count that.
      
      In Sidekiq, the main thread and the poller for Sidekiq cron could also
      connect to the database.
      65d112fa
  14. 15 Feb, 2020 1 commit
  15. 06 Feb, 2020 1 commit
  16. 31 Jan, 2020 1 commit
  17. 15 Jan, 2020 1 commit
  18. 27 Dec, 2019 1 commit
  19. 20 Dec, 2019 4 commits
  20. 16 Dec, 2019 1 commit
  21. 11 Dec, 2019 1 commit
    • Matthias Käppler's avatar
      Introduce `Runtime` class to identify runtime proc · 3a1ea22c
      Matthias Käppler authored
      This will serve as the new single access point into
      identifying which runtime is active.
      
      Add Process.max_threads method
      
      This will return the maximum concurrency for the given
      runtime environment.
      
      Revert to including `defined?` checks for Process
      
      This is based on a reference impl by new relic which they
      use to detect the current dispatcher.
      
      Add `name` method, throw if ambiguous
      
      This can be called from an initializer for instance.
      
      Log the current runtime in an initializer
      
      Add `multi_threaded?` and `app_server?` helpers
      
      To allow easier grouping of configuration
      
      Rename `Process` to `Runtime`
      
      And move it into its own file.
      
      Replace all remaining runtime checks with new API
      
      Including a commit body because the danger bot politely asked me
      to. There really is nothing else to say.
      
      Prefer `class << self` over `instance_eval`
      
      It seems to be the more widely adopted style.
      
      Simplify `has_instances?` helper method
      
      Fix rubocop offense
      
      Remove max_threads method
      
      This wasn't currently used anywhere and we should define this elsewhere.
      
      Remove references to NR library
      
      This caused some legal questions. We weren't using the instance lookup
      before, so it should be OK.
      3a1ea22c