Skip to content

Commit 71c9063

Browse files
committed
fix(connector-fabric): chain code deployment fails >1 scp concurrency
Fixes #1570 Signed-off-by: Peter Somogyvari <[email protected]>
1 parent b33aa90 commit 71c9063

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/cactus-plugin-ledger-connector-fabric/src/main/typescript/plugin-ledger-connector-fabric.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ export class PluginLedgerConnectorFabric
388388
}
389389

390390
log.debug(`SCP from/to %o => %o`, tmpDirPath, remoteDirPath);
391-
await ssh.putDirectory(tmpDirPath, remoteDirPath);
391+
await ssh.putDirectory(tmpDirPath, remoteDirPath, { concurrency: 1 });
392392
log.debug(`SCP OK %o`, remoteDirPath);
393393

394394
if (ccLang === ChainCodeProgrammingLanguage.Golang) {

packages/cactus-test-tooling/src/main/typescript/fabric/fabric-test-ledger-v1.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1085,7 +1085,7 @@ export class FabricTestLedgerV1 implements ITestLedger {
10851085
log.debug(`SCP OK %o`, remoteDirPath);
10861086

10871087
log.debug(`SCP from/to %o => %o`, tmpDirPath, remoteDirPath);
1088-
await ssh.putDirectory(tmpDirPath, remoteDirPath);
1088+
await ssh.putDirectory(tmpDirPath, remoteDirPath, { concurrency: 1 });
10891089
log.debug(`SCP OK %o`, remoteDirPath);
10901090

10911091
log.debug(`Initializing docker commands`);

0 commit comments

Comments
 (0)