Comments (2)
Hi robotiko, thanks a lot for reporting this issue.
I just pushed the changes needed. I also added a test (tests/testconnect.js). The third parameter in the run command takes an array of redis instances. Each element in the array can be a string, in which case the ruleset will be bound to a unix socket, or a JSON object specifying host, port and password properties. Please try:
var d = require('../lib/durable');
d.run({
approval1: {
r1: {
whenSome: { $and: [
{ subject: 'approve' },
{ $lte: { amount: 1000 }}
]},
run: requestApproval
},
}
}, '', [{ host: 'hoki.redistogo.com', port: 9151, password: '81f67f7b3580d6aa4c539a35a9935064'}]);
from rules.
Hi jruizgit,
thanks a lot.
I will give it a try.
from rules.
Related Issues (20)
- UnicodeDecodeError issue HOT 1
- Running Python Statechart example results in MessageNotHandledException
- MessageObservedException appears while there aren't any duplicates
- Could not create ruleset: 106
- Error installing with "pip install durable-rules" HOT 1
- Clear Ruleset & c
- Error installing with npm on Widnows HOT 1
- Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) HOT 2
- ERROR: Command errored out with exit status 1 when trying to pip install scrublet HOT 3
- Getting matched groups
- pylint error when using this from durable.lang import * HOT 1
- Issue when I call startTimer
- C or C++ examples are available ?
- REST api not found HOT 2
- Issue with multiple asserted facts similarly formatted
- Repeated Could not assert timers exception
- Create Ruleset that has algebra function will not work?
- Can someone please tell me how to handle null values in durable rules. HOT 1
- Go support?
- Cumulative amount of events will trigger fraud detection HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rules.