When the transfer speed is below the 1000 bytes per second for more than 300 seconds, consider it too slow and abort. This fixes "fedpkg srpm" hanging forever when server stops sending data for some reason.
Signed-off-by: Jan Kaluza jkaluza@redhat.com
rebased
Looks good to me.
:thumbsup:
@jkaluza Need rebase.
I rebased this and merged outside of Pagure, but got a traceback instead of Pagure automatically closing the PR :disappointed:
Pull-Request has been closed by lsedlar
When the transfer speed is below the 1000 bytes per second for more than 300 seconds, consider it too slow and abort. This fixes "fedpkg srpm" hanging forever when server stops sending data for some reason.
Signed-off-by: Jan Kaluza jkaluza@redhat.com