Increasing upload speed for small files
For small files, upload speed is dominated by the time.sleep delay to check for successful upload. Since we are checking chunk size anyway, we can reduce the delay for small files / single chunk uploads
Edited by Arnd Koeppe