Browse Source

Add sleep between generating chunks.

Resolves #5, at the cost of slightly slower chunking.
master
km09 5 years ago
committed by GitHub
parent
commit
923661847f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      chunker

+ 1
- 0
chunker View 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


Loading…
Cancel
Save