Pārlūkot izejas kodu

Small extra wait time

microtasks
tech234a pirms 3 gadiem
vecāks
revīzija
451e52b195
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      worker.py

+ 1
- 1
worker.py Parādīt failu

@@ -267,7 +267,7 @@ while not gkiller.kill_now:
subthreads.remove(xa)
del xa

sleep(1) # wait a second to hopefully allow the other threads to finish
sleep(30) # wait 30 seconds to hopefully allow the other threads to finish

for fol in listdir("out"): #remove empty folders
try:


Notiek ielāde…
Atcelt
Saglabāt