Antoine Aflalo
ea8c6d5cce
Add number of units to the delay node (rate) ( #994 )
...
* Add possibility to set the value for the rate unit
Backward compatible, if the new nbRateUnits is not set, default to 1.
This way we can delay messages to 1 msg per X seconds/minutes/hours days
instead of always 1.
Useful when interacting with API that have a uncommon rate limiting like
1req per 2 seconds.
* Fix existing testing for delay
* Add new test for the nbRateUnits
* Fix label for timed and topic for delay node
* Schrink width of Units delay rate
* pluralisation of labels
* Dynamic pluralisation respecting i18n
* Remove debug data left
2016-09-16 14:27:14 +01:00
Dave Conway-Jones
1cfad27d6f
Delay node only warn once on queue >1000 messages
...
and then again at >10000 messages
2016-06-10 23:21:12 +01:00
Dave Conway-Jones
8fc0018cb9
Fix regression in delay node.
...
topic based queue was emptying all the time instead of spreading out
messages.
2016-04-24 11:08:58 +01:00
Dave Conway-Jones
906703db5f
Add timed release mode to delay node
2016-03-20 17:46:12 +00:00
Dave Conway-Jones
dda90f956d
Clear delay node status on re-deploy. (rate limit path)
2015-12-02 15:37:36 +00:00
Dave Conway-Jones
9560dc9408
remove delay spinner upper limit
...
e.g. 65 secs is perfectly valid…
close #728
2015-09-22 15:06:58 +01:00
Dave Conway-Jones
d0af4aac4d
cleanup status on delay node
2015-07-08 15:06:46 +01:00
Nick O'Leary
5522e57f65
More node i18n tidy-up
2015-07-02 10:49:38 +01:00
Scott Yoshizawa
2fe859b111
NLS Core nodes
...
NLS exec node
NLS function/temple/delay nodes
NLS function/template/delay/trigger/comment nodes
NLS io nodes (mqtt/httpin/websocket/watch/serial)
NLS messages.json for tcpin
NLS io nodes (tcpin & udp half)
NLS io nodes (udp)
NLS logic nodes (switch/change)
NLS logic (range) and parsers (csv&html) nodes
NLS parser nodes (json/xml)
NLS test case update for logic/parsers
NLS analysis and hardware nodes
NLS storage nodes (file/redisout/mongodb) and test
NLS storage node (tail)
NLS social nodes (feedparse/email/irc)
NLS socal node (twitter half change)
NLS social node (twitter) and core node (unknown)
2015-07-02 10:46:57 +01:00
dceejay
5352fc87ee
add extra tests to debug, delay & template
2015-03-22 09:38:42 +00:00
dceejay
71ff828947
Tidy up all console.log util.log from core nodes.
...
Try to make log,warn,error more consistent behaviour.
Especially make sure any existing catches produce errors
2015-02-25 19:10:59 +00:00
Nick O'Leary
07acc6642f
Merge pull request #460 from hindessm/fix-lastSent-initial-value
...
Fix node.lastSent initial value after refactoring.
2015-02-03 13:27:48 +00:00
Mark Hindess
5510dffe18
Fix random delay mode to be random delay not random rate-limited stack.
...
Documentation says "Introduces a delay into a flow or rate limits
messages." but this node was doing delay and rate limit in random mode
which doesn't seem that useful. Worse it was a stack not a queue. I
can't think of any sane use cases for that behaviour.
2015-01-14 14:19:21 +00:00
Mark Hindess
7909ca24d3
Fix random delay in milliseconds case and change test to reproduce bug.
...
Because there was no multiplier the node.randomFirst was a string so
the later '+' was a concatentation. The test failed to catch this because
it uses integers not strings to configure the node.
2015-01-14 10:18:47 +00:00
Mark Hindess
d859412785
Fix node.lastSent initial value after refactoring.
2014-10-30 08:19:52 +00:00
Dave C-J
b54e9edfa6
Add "topic based fair queue" option to delay node
2014-10-24 20:00:25 +01:00
Nick O'Leary
c91a3f3f78
Delay node drop immediate not working
...
Fixes #381
2014-09-05 16:04:35 +01:00
Nick O'Leary
9876570189
Merge delay node test
...
Fixes #346
Closes #347
2014-09-01 10:22:29 +01:00
Dave C-J
8c8c9b13b9
Addressing the first message bug in #346 .
...
Not closing the Issue (yet) as there still seems to be some discussion re timing.
2014-08-31 13:29:38 +01:00
Dave C-J
b67e70e09f
Fix Delay node milliseconds label to read ms.
...
(and add use strict)
2014-05-23 23:15:28 +01:00
Nick O'Leary
baaf8167d3
Delay node dropping intermediate messages incorrectly
2014-05-06 10:07:57 +01:00
Nick O'Leary
ff49d2b217
Migrate to new node function style
2014-05-03 23:32:04 +01:00
Nick O'Leary
653c02bb15
Add drop-intermediate option to Delay rate node
2014-04-15 23:08:02 +01:00
Ben Hardill
da167c8607
remove un needed commented out line
2014-02-18 10:28:46 +00:00
Ben Hardill
7af88f63f5
Fix delay node singleton issue
...
Fixes #154
2014-02-18 10:23:44 +00:00
Ben Hardill
ad1f967a8d
Fix random wait in delay node
...
Fixes #143
2014-02-03 13:08:20 +00:00
Dave C-J
15669b7f1f
Only declare node variables inside node declaration.
...
Fix for Issue #119
(also reformatted with spaces hence what looks like massive changes...)
2013-12-21 17:31:05 +00:00
Ben Hardill
4b3f26bed5
Fix milliseconds in delay
2013-11-30 18:08:44 +00:00
Nicholas O'Leary
48dabffefc
Move all nodes into core subdirectory
...
This makes it easier to distinguish core nodes from those added later
2013-11-14 15:52:19 +00:00