roc230 / spymemcached

Automatically exported from code.google.com/p/spymemcached
0 stars 0 forks source link

Make TranscodeService.pool use daemon threads when ConnectionFactory.isDaemon() #123

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
With ConnectionFactory.isDaemon an application can control whether client
threads are set in daemon mode so that they don't prevent a JVM from
shutting down, however the TranscodeService.pool always uses a thread
factory in non-daemon mode, so it prevents process shutdown.

Original issue reported on code.google.com by ddlat...@gmail.com on 3 Mar 2010 at 7:45

GoogleCodeExporter commented 9 years ago

Original comment by mikewie...@gmail.com on 12 Sep 2011 at 7:37

GoogleCodeExporter commented 9 years ago
Looks like this was already fixed. In the MemcachedClient constructor I can see

tcService = new TranscodeService(cf.isDaemon());

Please reopen this bug if there are still issues in Spymemcached 2.7 or later.

Original comment by mikewie...@gmail.com on 20 Sep 2011 at 10:42