Skip to content

Commit

Permalink
Increase time trigger off to one minute
Browse files Browse the repository at this point in the history
References #1232
  • Loading branch information
hobinjk authored and benfrancis committed Aug 15, 2018
1 parent 27d549d commit b91f8e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules-engine/triggers/TimeTrigger.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class TimeTrigger extends Trigger {

sendOn() {
this.emit(Events.STATE_CHANGED, {on: true, value: Date.now()});
this.timeout = setTimeout(this.sendOff, 10 * 1000);
this.timeout = setTimeout(this.sendOff, 60 * 1000);
}

sendOff() {
Expand Down

0 comments on commit b91f8e1

Please sign in to comment.