remove shitty fuckshit
This commit is contained in:
parent
44d04cd935
commit
d1bddfd037
1 changed files with 0 additions and 3 deletions
3
main.go
3
main.go
|
@ -112,8 +112,6 @@ func InitDatabase() (err error) {
|
||||||
var JobPoolSize int = 5
|
var JobPoolSize int = 5
|
||||||
var ConcurrencyLimit int = 1
|
var ConcurrencyLimit int = 1
|
||||||
var WorkerJobPool chan string
|
var WorkerJobPool chan string
|
||||||
var GlobalWriteSemaphore common.Semaphore
|
|
||||||
|
|
||||||
var GlobalWriteLock sync.Mutex
|
var GlobalWriteLock sync.Mutex
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
@ -174,7 +172,6 @@ func main() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
GlobalWriteSemaphore = common.NewSemaphore(ConcurrencyLimit)
|
|
||||||
wg := sync.WaitGroup{}
|
wg := sync.WaitGroup{}
|
||||||
|
|
||||||
for _, jobFile := range WorkerJobPool {
|
for _, jobFile := range WorkerJobPool {
|
||||||
|
|
Loading…
Add table
Reference in a new issue