Fix locking when removing packages from source repository

This commit is contained in:
Martchus 2024-03-07 00:53:10 +01:00
parent a43fec4868
commit 4017d50a20
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ void MovePackages::run()
});
// remove package from database file of source repo
m_setup.locks.acquireToWrite(m_buildAction->log(), std::move(m_destinationDatabaseLockName),
m_setup.locks.acquireToWrite(m_buildAction->log(), std::move(m_sourceDatabaseLockName),
[this, buildAction = m_buildAction,
repoRemoveProcess = m_buildAction->makeBuildProcess("repo-remove", m_workingDirectory + "/repo-remove.log",
std::bind(&MovePackages::handleRepoRemoveResult, this, processSession, std::placeholders::_1, std::placeholders::_2))](