Skip to content

Commit

Permalink
toAnnounce and add link
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Tahler committed Jan 7, 2013
1 parent a47c734 commit 3e9e390
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions initializers/initTasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ var initTasks = function(api, next){
}else{
self.currentTask = task;
api.tasks.setTaskData(api, task.id, {api_id: api.id, worker_id: self.id, state: "processing"}, function(){
self.log("starting task " + task.name);
if(task.toAnnounce != false){ self.log("starting task " + task.name); }
task.run(function(){
api.tasks.removeFromQueue(api, task.id, api.tasks.queues.processingQueue, function(){
self.log("completed task " + task.name + ", " + task.id);
Expand Down Expand Up @@ -250,7 +250,7 @@ var initTasks = function(api, next){
if(typeof callback == "function"){ callback(); }
}else{
self.currentTask = task;
// self.log("preparing task " + task.name + " to run locally");
// if(task.toAnnounce != false){ self.log("preparing task " + task.name + " to run locally"); }
api.tasks.copyToReleventLocalQueues(api, task, function(){
self.prepareNextRun();
if(typeof callback == "function"){ callback(); }
Expand All @@ -267,7 +267,7 @@ var initTasks = function(api, next){
if(typeof callback == "function"){ callback(); }
}else{
self.currentTask = task;
// self.log("promoted delayed task " + task.name + " to the global queue");
// if(task.toAnnounce != false){ self.log("promoted delayed task " + task.name + " to the global queue"); }
self.prepareNextRun();
if(typeof callback == "function"){ callback(); }
}
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Build Status](https://secure.travis-ci.org/evantahler/actionHero.png?branch=master)](http://travis-ci.org/evantahler/actionHero)

**Links: [NPM](https://npmjs.org/package/actionHero) | [Wiki](https://github.com/evantahler/actionHero/wiki) | [Public Site](http://www.actionherojs.com) | [GitHub](https://github.com/evantahler/actionHero) | [Client](https://github.com/evantahler/actionhero_client)**
**Links: [NPM](https://npmjs.org/package/actionHero) | [Wiki](https://github.com/evantahler/actionHero/wiki) | [API Methods](https://github.com/evantahler/actionHero/wiki/API-Methods) | [Public Site](http://www.actionherojs.com) | [GitHub](https://github.com/evantahler/actionHero) | [Client](https://github.com/evantahler/actionhero_client)**

<img src="https://raw.github.com/evantahler/actionHero/master/public/logo/actionHero.png" height="250"/>

Expand Down

0 comments on commit 3e9e390

Please sign in to comment.