fix(xo-server/getRemoteHandler): synchronize to avoid race conds during sync

This commit is contained in:
Julien Fontanet
2020-10-19 22:35:13 +02:00
parent 64109aee05
commit 2a270b399e

View File

@@ -55,6 +55,7 @@ export default class {
})
}
@synchronized
async getRemoteHandler(remote) {
if (typeof remote === 'string') {
remote = await this._getRemote(remote)