| CODENOTIFIER | HelpYou are not signed inSign in |
Project: taskr
Revision: 213
Author: matt.zukowski
Date: 03 Jul 2008 14:02:49
Changes:dont_wait should now be working, at least with mongrel
Files:| ... | ...@@ -41,7 +41,7 @@ | |
| 41 | 41 | $stderr = io |
| 42 | 42 | err = false # start off assuming there's no error |
| 43 | 43 | begin |
| 44 | if params[:dont_wait] | |
| 44 | if !params[:dont_wait].blank? && params[:dont_wait] != 0 && params[:dont_wait] != '0' | |
| 45 | 45 | puts "Task #{params[:task_name].inspect} will be forked to its own process because the 'dont_wait' parameter was set to true." |
| 46 | 46 | |
| 47 | 47 | # Monkey-patch Mongrel to not remove its pid file in the child |