 		opts =
 			method : "get"
 			uri: "#{@_buildUrl(project_id, file_id)}#{queryString}"
+			timeout:fiveMinsInMs
 		readStream = request(opts)
 		callback(null, readStream)
 

					project_id:oldProject_id
					file_id:oldFile_id
			uri: @_buildUrl(newProject_id, newFile_id)

		request opts, (err)->
			if err?
				logger.err err:err, oldProject_id:oldProject_id, oldFile_id:oldFile_id, newProject_id:newProject_id, newFile_id:newFile_id, "something went wrong telling filestore api to copy file"

fs = require("fs")
request = require("request")
settings = require("settings-sharelatex")

oneMinInMs = 60 * 1000
fiveMinsInMs = oneMinInMs * 5

module.exports =

