Permalink
Browse files

load sagas always from db #15

  • Loading branch information...
1 parent 8af3045 commit a9f9772d7ecb94eef149b17167e71bd701233b55 @adrai committed Dec 24, 2013
Showing with 5 additions and 5 deletions.
  1. +5 −5 lib/bases/sagaHandlerBase.js
@@ -87,8 +87,8 @@ SagaHandler.prototype = {
loadSaga: function(id, callback) {
var self = this;
- var saga = this.sagas[id];
- if (!saga) {
+ // var saga = this.sagas[id];
+ // if (!saga) {
saga = new this.Saga(id);
saga.commit = function(callback) {
self.commit(this, callback);
@@ -99,9 +99,9 @@ SagaHandler.prototype = {
callback(err, saga);
});
});
- } else {
- callback(null, saga);
- }
+ // } else {
+ // callback(null, saga);
+ // }
},
configure: function(fn) {

0 comments on commit a9f9772

Please sign in to comment.