keep restored file if saving periodically
Signed-off-by: nevafuse <nevafuse@gmail.com>
This commit is contained in:
parent
3b36b13d31
commit
e05faf77c8
|
@ -612,9 +612,9 @@ public class HashSessionManager extends AbstractSessionManager
|
|||
__log.debug(error);
|
||||
}
|
||||
}
|
||||
else
|
||||
else if (_savePeriodMs == 0)
|
||||
{
|
||||
// delete successfully restored file
|
||||
// delete successfully restored file if not saving periodically
|
||||
file.delete();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue