Skip to content

Revert agent_tracker's runGC function

Taka Nishida requested to merge Revert-tracker-runGC into master

Reverts part of: !1102 (merged)

This MR reverts tracker.go and tracer_test.go to ensure GC will be executed. Without these GC executions, it can be overflowed when the gitlab-agent continues to restart and it keeps registering the gitlab-agent, but the user never visits GitLab Rails. In this scenario, Hash.Scan will never be called and thus the GC will never be executed. To avoid this situation, we need to run GC explicitly.

Merge request reports

Loading