Ver código fonte
Add sleep between generating chunks.
Resolves #5, at the cost of slightly slower chunking.
master
km09
5 anos atrás
committed by
GitHub
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados
ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com
1 adições e
0 exclusões
-
chunker
|
|
@@ -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 |
|
|
|
|