We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68079aa commit a1c0ee9Copy full SHA for a1c0ee9
models/repo.go
@@ -2208,10 +2208,13 @@ const (
2208
archiveCleanup = "archive_cleanup"
2209
)
2210
2211
+// TaskStartIfNotRunning sets value of given name to true if not already in pool.
2212
+// Returns whether set value was set to true
2213
func TaskStartIfNotRunning(name string) bool {
2214
return taskStatusTable.StartIfNotRunning(name)
2215
}
2216
2217
+// TaskStop sets value of given name to false in the pool.
2218
func TaskStop(name string) {
2219
taskStatusTable.Stop(name)
2220
0 commit comments