Make download canceling more responsive
authorStavros Sachtouris <saxtouri@admin.grnet.gr>
Thu, 11 Apr 2013 13:55:45 +0000 (16:55 +0300)
committerStavros Sachtouris <saxtouri@admin.grnet.gr>
Thu, 11 Apr 2013 13:55:45 +0000 (16:55 +0300)
commitb78ee58184e52146642c00e6ebfb7d88c0c9272c
treead8509f4e52ae00a8ec1a4f03bff3a8404ea3e96
parent50165863e27f1eb9be343a5a6102fd62b8e74478
Make download canceling more responsive

This does not make download canceling faster, if anything, it makes it slower
but probably more gracefull for end users. Instead of just waiting the threads
to finish, users now see messages that descibe the attempts made by kamaki to
cancel them. Each cancelation gets a timeout of 0.5 seconds, so that users
will not wait too long (although they might wait more overall)

Bug #3457
kamaki/cli/commands/pithos_cli.py