remove shitty fuckshit

master
cheetah 1 year ago
parent 44d04cd935
commit d1bddfd037

@ -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…
Cancel
Save