Add timeout when downloading a file in drive export

This commit is contained in:
yflory
2018-10-23 14:22:18 +02:00
parent 3c99302c32
commit d748620129
2 changed files with 27 additions and 18 deletions

View File

@@ -1009,7 +1009,7 @@ define([
if (err) { return void cb(err); }
if (obj.error) { return void cb(obj.error); }
cb(null, obj.data);
}, { timeout: 5 * 60 * 1000 });
}, { timeout: 60000 });
};
var ui = createExportUI();