mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Minor name change to keep swap job / s3 decoupled
This commit is contained in:
parent
5dcc4128b4
commit
21b769170d
1 changed files with 2 additions and 2 deletions
|
@ -185,10 +185,10 @@ public class SwapJobImpl implements SwapJob {
|
|||
@Override
|
||||
public void restore(String projName) throws IOException {
|
||||
try (LockGuard __ = lock.lockGuard(projName)) {
|
||||
try (InputStream s3File = swapStore.openDownloadStream(projName)) {
|
||||
try (InputStream zipped = swapStore.openDownloadStream(projName)) {
|
||||
repoStore.unbzip2Project(
|
||||
projName,
|
||||
s3File
|
||||
zipped
|
||||
);
|
||||
swapStore.remove(projName);
|
||||
dbStore.setLastAccessedTime(
|
||||
|
|
Loading…
Reference in a new issue