-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't call :on_success #8
Comments
Are you only not seeing the puts or does the cleanup also not happen? EM.stop is not needed and would cause problems with Goliath |
Honestly I'm a bit confused now, I don't understand the 'meaning' of on_success ...
Output is: RM /Users/ngw/kenji/tmp/nofeed/css/main.css The files aren't removed at all .... |
Damn, and that was the result of an uncleaned dir. https://gist.github.com/79abf5219627d4db814e What happens basically is that it starts processing (a processing that is entirely external) before it downloaded all files, apparently tries to cleanup before it finished uploading. I'm not able to understand if the problem is in Goliath or Happening, and I'm definitely not sure how to fix this .... |
Is this still an issue? I'd suggest not giving a block to the put function, because that overrides the :on_success option. |
Hi, I need to upload some files on S3, and I would like to cleanup the tmp structure I created before on_success.
Files are correctly uploaded, but I never see "DELETE". The app is built using Goliath.io, I'm not entirely sure how it integrates with EM, but considering that it's pretty big and everything seems to work very well ... Should I call EM.stop?
Suggestions on how to fix?
The text was updated successfully, but these errors were encountered: