Skip to content

debugserver: remove DB interface for debug dump

Warren Gifford requested to merge jc/simpler-debugdumper into main

Created by: unknwon

Turns out the repos.UpdateScheduler already embeds a database.DB, and no need to pass it through as the method argument.

Test plan

Manually tested:

  1. Add the following lines to your sg.config.overwrite.yaml:
commands:
  repo-updater:
    env:
      SRC_PROF_HTTP: ':6060'
CleanShot 2022-06-29 at 15 13 27@2x

Followup of https://github.com/sourcegraph/sourcegraph/pull/37915#discussion_r911758746

Merge request reports

Loading