Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

FTP doesn't work if delayed #624

Closed
pictureu opened this Issue Feb 5, 2014 · 1 comment

Comments

Projects
None yet
3 participants

pictureu commented Feb 5, 2014

I'm am trying to do a FTP of a small file < 200K in a delayed job. The job doesn't throw any error it just hangs. It creates a zero byte file on the server and the net activity dies. For whatever reason, the delayed job eats STDOUT so debug_mode doesn't help. Oddly enough if I type the code in the console line by line, it works, the file is uploaded fine. I have no clue why it would work in the console and not the job. if I set Delayed::Worker.delay_jobs = false the code executes with no issues.

Can you give more details about your environment or paste some of your code. I actually use it with FTP without any problems. Also the debugger works well. I have a basic test project running properly that I can upload if that helps you.

@albus522 albus522 closed this Sep 24, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment