Skip to content

gitserver: fix gitServiceMaxEgressBytesPerSecond env loading

Administrator requested to merge env-gitservice-loading into main

Created by: bobheadxi

env.Get should not be called post-initialization, so we load it first and do the parsing later. This regression was introduced in https://github.com/sourcegraph/sourcegraph/pull/40966

Test plan

sg start (though that didn't catch the issue before 😬 )

Merge request reports

Loading