Sidebar
0 votes
421 views
by js-6370 (360 points)
Is there a way to limit the number of transactions a channel receives during a specific time limit (rate-limiting)?

1 Answer

+1 vote
 
Best answer

Yes, you would add a scheduled script that would run every few seconds. The script would check for the number of Inbound Messages and if it exceeds a predetermined number of message it would stop the source node. It would also check to see if the inbound number of messages has dropped below a predetermined number and then re-start the inbound node.

Note: it is important that the script is scheduled to run while the channel is paused.

 

by gary-t-8719 (15.2k points)
selected by js-6370
...