Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
disable multithreading (#61)
Browse files Browse the repository at this point in the history
Signed-off-by: Ayman <[email protected]>

Signed-off-by: Ayman <[email protected]>
Co-authored-by: Ayman <[email protected]>
  • Loading branch information
khalifapro and enkhalifapro authored Nov 7, 2022
1 parent 512f1fa commit 12548c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ func (j *DSGitHub) Validate(ctx *shared.Ctx) (err error) {
}
j.Emojis = make(map[string]string)
// Multithreading
j.ThrN = shared.GetThreadsNum(ctx)
j.ThrN = 1 //shared.GetThreadsNum(ctx)
if j.ThrN > 1 {
j.GitHubMtx = &sync.RWMutex{}
j.GitHubRateMtx = &sync.RWMutex{}
Expand Down

0 comments on commit 12548c1

Please sign in to comment.