Skip to content

replace sync module #19620

Closed
Closed
@6543

Description

@6543

replace "code.gitea.io/gitea/modules/sync" with a cluster aware one ( #13791)

ref https://github.com/go-gitea/gitea/pull/19520/files#r859289575

// TODO: use clustered lock (unique queue? or *abuse* cache)
var pullWorkingPool = sync.NewExclusivePool()

// repoWorkingPool represents a working pool to order the parallel changes to the same repository
// TODO: use clustered lock (unique queue? or *abuse* cache)
var repoWorkingPool = sync.NewExclusivePool()

// TODO: use clustered lock (unique queue? or *abuse* cache)
wikiWorkingPool = sync.NewExclusivePool()

Metadata

Metadata

Assignees

Labels

type/refactoringExisting code has been cleaned up. There should be no new functionality.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions