| CODENOTIFIER | HelpYou are not signed inSign in |
Project: taskr
Revision: 207
Author: matt.zukowski
Date: 03 Jul 2008 13:38:57
Changes:some helpful logging regarding forking
Files:| ... | ...@@ -50,8 +50,10 @@ | |
| 50 | 50 | end |
| 51 | 51 | end |
| 52 | 52 | if params[:dont_wait] |
| 53 | RAILS_DEFAULT_LOGGER.debug("*** Taskr4Rails -- Task #{params[:task_name].inspect} is being forked into its own thread.") | |
| 53 | 54 | Process.detach(pid) |
| 54 | 55 | else |
| 56 | RAILS_DEFAULT_LOGGER.debug("*** Taskr4Rails -- Waiting for task #{params[:task_name].inspect} to complete.") | |
| 55 | 57 | pid.join |
| 56 | 58 | end |
| 57 | 59 | err = false |