keep restored file if saving periodically

Signed-off-by: nevafuse <nevafuse@gmail.com>
This commit is contained in:
nevafuse 2016-11-12 20:14:53 -05:00 committed by nevafuse
parent 3b36b13d31
commit e05faf77c8
1 changed files with 2 additions and 2 deletions

View File

@ -612,9 +612,9 @@ public class HashSessionManager extends AbstractSessionManager
__log.debug(error); __log.debug(error);
} }
} }
else else if (_savePeriodMs == 0)
{ {
// delete successfully restored file // delete successfully restored file if not saving periodically
file.delete(); file.delete();
} }
} }