lg / murder

Large scale server deploys using BitTorrent and the BitTornado library (NOTE: project no longer maintained)
http://twitter.com
Other
2.53k stars 269 forks source link

Eliminate redundant copies when distributing a single file #17

Closed vikasgorur closed 7 years ago

vikasgorur commented 11 years ago

I noticed that a couple of copy operations in create_torrent and start_seeding were not needed if you're only distributing a single file. This pull request eliminates them. The code path for directories is unchanged.