{"action":"created","issue":{"url":"https://api.github.com/repos/magro/memcached-session-manager/issues/166","labels_url":"https://api.github.com/repos/magro/memcached-session-manager/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/magro/memcached-session-manager/issues/166/comments","events_url":"https://api.github.com/repos/magro/memcached-session-manager/issues/166/events","html_url":"https://github.com/magro/memcached-session-manager/issues/166","id":102676111,"number":166,"title":"About sessionBackupAsync","user":{"login":"google-code-exporter","id":13935235,"avatar_url":"https://avatars.githubusercontent.com/u/13935235?v=3","gravatar_id":"","url":"https://api.github.com/users/google-code-exporter","html_url":"https://github.com/google-code-exporter","followers_url":"https://api.github.com/users/google-code-exporter/followers","following_url":"https://api.github.com/users/google-code-exporter/following{/other_user}","gists_url":"https://api.github.com/users/google-code-exporter/gists{/gist_id}","starred_url":"https://api.github.com/users/google-code-exporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google-code-exporter/subscriptions","organizations_url":"https://api.github.com/users/google-code-exporter/orgs","repos_url":"https://api.github.com/users/google-code-exporter/repos","events_url":"https://api.github.com/users/google-code-exporter/events{/privacy}","received_events_url":"https://api.github.com/users/google-code-exporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magro/memcached-session-manager/labels/bug","name":"bug","color":"FFFFFF"},{"url":"https://api.github.com/repos/magro/memcached-session-manager/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/magro/memcached-session-manager/labels/invalid","name":"invalid","color":"FFFFFF"},{"url":"https://api.github.com/repos/magro/memcached-session-manager/labels/Priority-Medium","name":"Priority-Medium","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-24T00:17:16Z","updated_at":"2015-08-24T00:17:26Z","closed_at":null,"body":"_From [anran.gu...@gmail.com](https://code.google.com/u/112625090938491615841/) on February 28, 2012 04:32:17_\n\nwhen sessionBackupAsync is set false, _sessionBackupTimeout does not work.\r\ni reseach the code:\r\n_executorService = sessionBackupAsync\r\n            ? Executors.newFixedThreadPool( backupThreadCount )\r\n            : new SynchronousExecutorService();\r\nin the case then executorService  is SynchronousExecutorService.\r\nfollows\r\n  final BackupSessionTask task = createBackupSessionTask( session, force );\r\n  final Future<BackupResult> result = _executorService.submit( task );//the thread hang here\r\n\r\n            if ( !_sessionBackupAsync ) {//here it does not work\r\n                try {\r\n                    result.get( _sessionBackupTimeout, TimeUnit.MILLISECONDS );\r\n                } catch ( final Exception e ) {\r\n                    if ( _log.isInfoEnabled() ) {\r\n                        _log.info( \"Could not store session \" + session.getId() + \" in memcached.\", e );\r\n                    }\r\n                }\r\n            }\n\n_Original issue: http://code.google.com/p/memcached-session-manager/issues/detail?id=123_"},"comment":{"url":"https://api.github.com/repos/magro/memcached-session-manager/issues/comments/133971255","html_url":"https://github.com/magro/memcached-session-manager/issues/166#issuecomment-133971255","issue_url":"https://api.github.com/repos/magro/memcached-session-manager/issues/166","id":133971255,"user":{"login":"google-code-exporter","id":13935235,"avatar_url":"https://avatars.githubusercontent.com/u/13935235?v=3","gravatar_id":"","url":"https://api.github.com/users/google-code-exporter","html_url":"https://github.com/google-code-exporter","followers_url":"https://api.github.com/users/google-code-exporter/followers","following_url":"https://api.github.com/users/google-code-exporter/following{/other_user}","gists_url":"https://api.github.com/users/google-code-exporter/gists{/gist_id}","starred_url":"https://api.github.com/users/google-code-exporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google-code-exporter/subscriptions","organizations_url":"https://api.github.com/users/google-code-exporter/orgs","repos_url":"https://api.github.com/users/google-code-exporter/repos","events_url":"https://api.github.com/users/google-code-exporter/events{/privacy}","received_events_url":"https://api.github.com/users/google-code-exporter/received_events","type":"User","site_admin":false},"created_at":"2015-08-24T00:17:26Z","updated_at":"2015-08-24T00:17:26Z","body":"_From [martin.grotzke](https://code.google.com/u/martin.grotzke/) on June 08, 2012 11:52:25_\n\n<i>(No comment was entered for this change.)</i>\n\n**Status:** Invalid  \n"}}