[
https://issues.apache.org/jira/browse/CLOUDSTACK-1100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prasanna Santhanam resolved CLOUDSTACK-1100.
--------------------------------------------
Resolution: Fixed
> Expunge thread is not kicked off based on global configuration if the global
> setting is less than 60 seconds
> ------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-1100
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1100
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Affects Versions: 4.1.0
> Reporter: Min Chen
> Assignee: Anthony Xu
> Fix For: 4.1.0
>
>
> In our code, we didn't exactly follow the configured
> expunge values (see related bug http://bugs.cloudstack.org/browse/CS-15922)
> String time = configs.get("expunge.interval");
> _expungeInterval = NumbersUtil.parseInt(time, 86400);
> if (_expungeInterval < 600) {
> _expungeInterval = 600;
> }
> time = configs.get("expunge.delay");
> _expungeDelay = NumbersUtil.parseInt(time, _expungeInterval);
> if (_expungeDelay < 600) {
> _expungeDelay = 600;
> }
> So even though that we have 60 seconds in our global config, our code
> hard-coded that to at least 10 mins to start expunge thread.
--
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