Sfoglia il codice sorgente

Add sleep between generating chunks.

Resolves #5, at the cost of slightly slower chunking.
master
km09 5 anni fa
committed by GitHub
parent
commit
923661847f
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: 4AEE18F83AFDEB23
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      chunker

+ 1
- 0
chunker Vedi File

@@ -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


Caricamento…
Annulla
Salva