Selaa lähdekoodia

Add sleep between generating chunks.

Resolves #5, at the cost of slightly slower chunking.
master
km09 5 vuotta sitten
committed by GitHub
vanhempi
commit
923661847f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. +1
    -0
      chunker

+ 1
- 0
chunker Näytä tiedosto

@@ -52,6 +52,7 @@ do
echo "Current archive is full, moving to ${timestamp}."
mv "$CHUNKER_WORKING_DIR/current" "$PACKING_QUEUE_DIR/${timestamp}"
cur_size=0
sleep 3
fi
done


Ladataan…
Peruuta
Tallenna