fix(xo-server/getRemoteHandler): synchronize to avoid race conds during sync
This commit is contained in:
@@ -55,6 +55,7 @@ export default class {
|
||||
})
|
||||
}
|
||||
|
||||
@synchronized
|
||||
async getRemoteHandler(remote) {
|
||||
if (typeof remote === 'string') {
|
||||
remote = await this._getRemote(remote)
|
||||
|
||||
Reference in New Issue
Block a user