Changes
3 changed files (+3/-3)
-
-
@@ -133,7 +133,7 @@ func Init() {finished() }) waitChannel := make(chan time.Duration) waitChannel := make(chan time.Duration, 1) // Create the Queue switch setting.Indexer.RepoType {
-
-
-
@@ -104,7 +104,7 @@ var (func InitIssueIndexer(syncReindex bool) { ctx, _, finished := process.GetManager().AddTypedContext(context.Background(), "Service: IssueIndexer", process.SystemProcessType, false) waitChannel := make(chan time.Duration) waitChannel := make(chan time.Duration, 1) // Create the Queue switch setting.Indexer.IssueType {
-
-
-
@@ -172,7 +172,7 @@ func doArchive(r *ArchiveRequest) (*repo_model.RepoArchiver, error) {w.Close() rd.Close() }() done := make(chan error) done := make(chan error, 1) // Ensure that there is some capacity which will ensure that the goroutine below can always finish repo, err := repo_model.GetRepositoryByID(archiver.RepoID) if err != nil { return nil, fmt.Errorf("archiver.LoadRepo failed: %v", err)
-