mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-10-21 17:01:25 -07:00
perf(stats): use compressed incremental snapshot transfers (#241)
This commit is contained in:
1 parent
614a8ca912
commit
fb2d1a512b
17 files changed
+748
-25
No files matched your search
@@ -14,9 +14,10 @@ import {
|
||||
assertSafeSshHost,
|
||||
detectRemoteShellFlavor,
|
||||
resolveRemoteSubminerCommand,
|
||||
runScp,
|
||||
runSsh,
|
||||
} from '../core/services/stats-sync/ssh';
|
||||
import { createSnapshotTransfer } from '../core/services/stats-sync/snapshot-transfer';
|
||||
import { createTransferCache } from '../core/services/stats-sync/transfer-cache';
|
||||
import {
|
||||
ensureTrackerQuiescentFlow,
|
||||
runSyncFlow,
|
||||
@@ -63,7 +64,8 @@ function buildSyncCliDeps(): SyncFlowDeps {
|
||||
assertSafeSshHost,
|
||||
detectRemoteShellFlavor,
|
||||
resolveRemoteSubminerCommand,
|
||||
runScp,
|
||||
createSnapshotTransfer,
|
||||
transferCache: createTransferCache(),
|
||||
runSsh,
|
||||
canConnectUnixSocket: canConnectSocket,
|
||||
realpathSync: (candidate) => fs.realpathSync(candidate),
|
||||
|
||||
Reference in new issue
Block a user