Skip to content

conf: Cancel timer to free goroutine

Administrator requested to merge cancel-timer into master

Created by: ryanslade

Previously all calls to WaitUntilInitialized via conf.Get, would spawn a timer that would leave a pending goroutine running, even if config had already been initialised.

The default timeout period is 5 minutes so this can lead to a large number of pending routines.

Merge request reports

Loading