DaanHoogland commented on code in PR #8896:
URL: https://github.com/apache/cloudstack/pull/8896#discussion_r1559331317


##########
usage/src/main/java/com/cloud/usage/UsageManagerImpl.java:
##########
@@ -316,6 +316,7 @@ public boolean start() {
             _sanity = _sanityExecutor.scheduleAtFixedRate(new SanityCheck(), 
1, _sanityCheckInterval, TimeUnit.DAYS);
         }
 
+        Runtime.getRuntime().addShutdownHook(new AbbandonJob());

Review Comment:
   ```suggestion
           Runtime.getRuntime().addShutdownHook(new AbandonJob());
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to