diff --git a/src/Tgstation.Server.Host/Components/RepositoryManager.cs b/src/Tgstation.Server.Host/Components/RepositoryManager.cs index 049396ba41..627ba44cfa 100644 --- a/src/Tgstation.Server.Host/Components/RepositoryManager.cs +++ b/src/Tgstation.Server.Host/Components/RepositoryManager.cs @@ -54,6 +54,10 @@ namespace Tgstation.Server.Host.Components semaphore.Dispose(); } + /// + /// Stops and joins it + /// + /// A representing the running operation async Task StopTimer() { if (currentTimerTask == null) @@ -62,7 +66,14 @@ namespace Tgstation.Server.Host.Components await currentTimerTask.ConfigureAwait(false); currentTimerTask = null; } - + + /// + /// Asyncronously fetch and reset the current branch for each given amount of + /// + /// The delay of the timer + /// The accessString to use for fetch operations + /// The for the operation + /// A representing the running operation async Task TimerLoop(int minutes, string accessString, CancellationToken cancellationToken) { try