mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Faster progress.
This commit is contained in:
@@ -101,7 +101,9 @@ module.exports = function(options) {
|
||||
})
|
||||
|
||||
try {
|
||||
var req = progress(request(url))
|
||||
var req = progress(request(url), {
|
||||
throttle: 100 // Throttle events, not upload speed
|
||||
})
|
||||
.on('progress', progressListener)
|
||||
|
||||
var save = req.pipe(fs.createWriteStream(path))
|
||||
|
||||
Reference in New Issue
Block a user