ome / omero-blitz

Gradle project containing Ice remoting code for OMERO
https://www.openmicroscopy.org/omero
GNU General Public License v2.0
0 stars 15 forks source link

Integrate import thread pool with others #77

Open joshmoore opened 4 years ago

joshmoore commented 4 years ago

see: https://github.com/ome/omero-blitz/pull/65/files#r321705576

            keepAlive = new ClientKeepAlive();
            keepAlive.setClient(this); // This is used elsewhere.
            executor = new ScheduledThreadPoolExecutor(1);
            executor.scheduleWithFixedDelay(keepAlive, keepAliveRate, keepAliveRate, TimeUnit.SECONDS);