[
https://jira.jboss.org/jira/browse/JGRP-804?page=com.atlassian.jira.plugi...
]
Bela Ban commented on JGRP-804:
-------------------------------
added property
max_block_times="500:2,1500:5,5000:10,5000:100,20000:200,100000:500,1000000:1000".
See documentation for details.
FC: max time to block until message is sent
-------------------------------------------
Key: JGRP-804
URL:
https://jira.jboss.org/jira/browse/JGRP-804
Project: JGroups
Issue Type: Feature Request
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 2.6.4, 2.7
Attachments: FC.java
When a message doesn't have enough credits to get sent, the sender blocks in
FC.down(), sending a credit request every max_block_time ms and will be able to unblock
and send the message only when new credits arrive.
To prevent indefinite blocking (e.g. when the OOB thread pool is exhausted and new
credits cannot be processed), add a property max_wait_time_per_message, which defines the
max number of milliseconds a message will ever be blocked in FC, before it is sent. This
is regardless of the number of credits left.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira