Skip to content

campaigns: #15101 caused repo-updater startup to block

Created by: LawnGnome

This caused an issue when deployed. I think this is because this function blocks until a signal is received and the workers stop, so it's normally used as the last call in a process's main().

I think the fix here would be to propagate the started workers back up to main(), then call this function there for monitoring.

Originally posted by @LawnGnome in https://github.com/sourcegraph/sourcegraph/pull/15101#r513794082