bug 10920: convert seconds to milliseconds

This commit is contained in:
Chiradeep Vittal 2011-07-30 18:19:46 -07:00
parent 6c1cd20fff
commit 3951699542
1 changed files with 1 additions and 1 deletions

View File

@ -1133,7 +1133,7 @@ public class SecurityGroupManagerImpl implements SecurityGroupManager, SecurityG
}
private void cleanupUnfinishedWork() {
Date before = new Date(System.currentTimeMillis() - _timeBetweenCleanups);
Date before = new Date(System.currentTimeMillis() - 2*_timeBetweenCleanups*1000l);
List<SecurityGroupWorkVO> unfinished = _workDao.findUnfinishedWork(before);
if (unfinished.size() > 0) {
s_logger.info("Network Group Work cleanup found " + unfinished.size() + " unfinished work items older than " + before.toString());