[
https://issues.apache.org/jira/browse/QPID-4748?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alan Conway resolved QPID-4748.
-------------------------------
Resolution: Fixed
Fixed on trunk:
------------------------------------------------------------------------
r1469661 | aconway | 2013-04-18 22:00:16 -0400 (Thu, 18 Apr 2013) | 16 lines
QPID-4748: Consistent handling of durations in broker configuration, allowing
sub-second intervals.
Provides string conversion for sys::Duration, allowing intervals to be
expressed like this:
10.5 - value in seconds, backward compatible.
10.5s - value in seconds
10.5ms - value in milliseconds
10.5us - value in microseconds
10.5ns - value in nanoseconds
Converted the folllowing brokerall the following boild options to Duration:
mgmtPubInterval, queueCleanInterval, linkMaintenanceInterval,
linkHeartbeatInterval
Did not convert: maxNegotiateTime. This is expressed in milliseconds so it
would not be
backward compatible to make it a Duration.
------------------------------------------------------------------------
> Consistent handling of durations in broker configuration, allowing sub-second
> intervals.
> ----------------------------------------------------------------------------------------
>
> Key: QPID-4748
> URL: https://issues.apache.org/jira/browse/QPID-4748
> Project: Qpid
> Issue Type: Improvement
> Components: C++ Broker
> Affects Versions: 0.22
> Reporter: Alan Conway
> Assignee: Alan Conway
>
> Allow sub-second intervals in broker configuration settings that take a value
> in seconds.
> There was an ad-hock change to allow link-maintenance-interval to be
> specified as a floating point value.
> Implement a more consistent approach allowing intervals to be expressed as
> any of
> 10 - value in seconds, backward compatible.
> 10s - value in seconds
> 10ms - value in milliseconds
> 10us - value in microseconds
> 10ns - value in nanoseconds
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]