switch to synchronous uploads

This commit is contained in:
albert
2013-02-20 11:23:40 -05:00
parent fe8d557fd6
commit 04d6f25e22

View File

@@ -27,7 +27,7 @@ class UploadsController < ApplicationController
def create
@upload = Upload.create(params[:upload].merge(:server => Socket.gethostname))
@upload.delay.process!
@upload.process!
respond_with(@upload)
end