commit | a47414e989b60eaffd15962f8070d958f8ffeb8a | [log] [tgz] |
---|---|---|
author | Nasser Grainawi <nasser@codeaurora.org> | Fri Feb 07 15:58:43 2020 -0700 |
committer | Nasser Grainawi <nasser@codeaurora.org> | Wed Jul 15 15:22:34 2020 -0600 |
tree | cc7cf1c03ddd8be5173b05c50043f219ce9c025e | |
parent | fc1ce37dac62279cb856f6e48ded79cfc0605195 [diff] |
cleaner: Catch any exceptions while cleaner is running If any exceptions are left uncaught, future scheduled tasks for the cleaner will not run. See [1] for more details. Also ensure we try to clean all entries by catching exceptions inside the cleaning loop. [1] https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ScheduledThreadPoolExecutor.html#scheduleAtFixedRate-java.lang.Runnable-long-long-java.util.concurrent.TimeUnit- Change-Id: Ieb92488f00750375604c4a9e0e362cd1278af159