From 61f28b9f22a0eb57d78fda00739d9346151834bc Mon Sep 17 00:00:00 2001 From: Grigory Efimov Date: Fri, 9 Jun 2023 14:46:01 +0300 Subject: [PATCH] updated etc/* for release --- etc/coordinator.yml | 22 ++++++++++++++-------- etc/filenode.yml | 18 +++++++++++------- etc/node-1.yml | 27 +++++++++++++-------------- etc/node-2.yml | 27 +++++++++++++-------------- etc/node-3.yml | 27 +++++++++++++-------------- 5 files changed, 64 insertions(+), 57 deletions(-) diff --git a/etc/coordinator.yml b/etc/coordinator.yml index 6f01784..35c7725 100644 --- a/etc/coordinator.yml +++ b/etc/coordinator.yml @@ -1,3 +1,4 @@ + account: peerId: 12D3KooWPUMFQFeiyZDwS2aGZJfcYZamwq3NLQJT6RskEzPfP2Xd peerKey: dQ+IwS15rKyNfjeUdgmg1AFhvl69JzkI/FpkYnfl9ITK4vX8BsI+O9xyxPhQfJbsgixRJLIQ6fKceXL6GRiTZA== @@ -9,13 +10,18 @@ mongo: log: log spaces: spaces -grpcServer: - server: - listenAddrs: - - any-sync-coordinator:443 - stream: - maxMsgSizeMb: 256 - timeoutMilliseconds: 1000 spaceStatus: runSeconds: 5 - deletionPeriodDays: 0 \ No newline at end of file + deletionPeriodDays: 0 + +drpc: + stream: + timeoutMilliseconds: 1000 + maxMsgSizeMb: 256 + +yamux: + listenAddrs: + - any-sync-coordinator:443 + writeTimeoutSec: 10 + dialTimeoutSec: 10 + diff --git a/etc/filenode.yml b/etc/filenode.yml index 87755bd..251cb24 100644 --- a/etc/filenode.yml +++ b/etc/filenode.yml @@ -14,10 +14,14 @@ redis: isCluster: false url: redis://redis:6379?dial_timeout=3&read_timeout=6s -grpcServer: - server: - listenAddrs: - - any-sync-filenode:443 - stream: - maxMsgSizeMb: 256 - timeoutMilliseconds: 1000 +drpc: + stream: + timeoutMilliseconds: 1000 + maxMsgSizeMb: 256 + +yamux: + listenAddrs: + - any-sync-filenode:443 + writeTimeoutSec: 10 + dialTimeoutSec: 10 + diff --git a/etc/node-1.yml b/etc/node-1.yml index 3372164..252bc71 100644 --- a/etc/node-1.yml +++ b/etc/node-1.yml @@ -4,27 +4,26 @@ account: signingKey: /UxND22fiH7QgOaMee30x9ZHLFDMY8wWIqWSqOWCvtBEB/dbsFViVokAalOqgRT23hcZLGB8gkLinOc3+u996g== apiServer: - server: - listenAddrs: - - 0.0.0.0:8080 - stream: - maxMsgSizeMb: 256 - timeoutMilliseconds: 1000 + listenAddr: 0.0.0.0:8080 + +drpc: + stream: + timeoutMilliseconds: 1000 + maxMsgSizeMb: 256 + +yamux: + listenAddrs: + - any-sync-node-1:443 + writeTimeoutSec: 10 + dialTimeoutSec: 10 space: gcTTL: 60 syncPeriod: 600 + storage: path: /storage nodeSync: periodicSyncHours: 2 syncOnStart: true - -grpcServer: - server: - listenAddrs: - - any-sync-node-1:443 - stream: - maxMsgSizeMb: 256 - timeoutMilliseconds: 1000 diff --git a/etc/node-2.yml b/etc/node-2.yml index f79fb77..1152e59 100644 --- a/etc/node-2.yml +++ b/etc/node-2.yml @@ -4,27 +4,26 @@ account: signingKey: jYCOxScFFgBVpwc3x/hABTWOm8mA3Pgmtz+kZNf0XL5SR/zCPJCkXiWuYUlJHEXckqWQRgEwWwQNkYhWO+r96w== apiServer: - server: - listenAddrs: - - 0.0.0.0:8080 - stream: - maxMsgSizeMb: 256 - timeoutMilliseconds: 1000 + listenAddr: 0.0.0.0:8080 + +drpc: + stream: + timeoutMilliseconds: 1000 + maxMsgSizeMb: 256 + +yamux: + listenAddrs: + - any-sync-node-2:443 + writeTimeoutSec: 10 + dialTimeoutSec: 10 space: gcTTL: 60 syncPeriod: 600 + storage: path: /storage nodeSync: periodicSyncHours: 2 syncOnStart: true - -grpcServer: - server: - listenAddrs: - - any-sync-node-2:443 - stream: - maxMsgSizeMb: 256 - timeoutMilliseconds: 1000 diff --git a/etc/node-3.yml b/etc/node-3.yml index 56c03e6..6bd0d04 100644 --- a/etc/node-3.yml +++ b/etc/node-3.yml @@ -4,27 +4,26 @@ account: signingKey: of4HQe2AK6+0vsppJUw+MEuvcv1BhH2S/8f7+sOiN6fJ4sTiOc4qiSRgAFYE8yJR2ZLmOtSti0l8iwDkaGq8HA== apiServer: - server: - listenAddrs: - - 0.0.0.0:8080 - stream: - maxMsgSizeMb: 256 - timeoutMilliseconds: 1000 + listenAddr: 0.0.0.0:8080 + +drpc: + stream: + timeoutMilliseconds: 1000 + maxMsgSizeMb: 256 + +yamux: + listenAddrs: + - any-sync-node-3:443 + writeTimeoutSec: 10 + dialTimeoutSec: 10 space: gcTTL: 60 syncPeriod: 600 + storage: path: /storage nodeSync: periodicSyncHours: 2 syncOnStart: true - -grpcServer: - server: - listenAddrs: - - any-sync-node-3:443 - stream: - maxMsgSizeMb: 256 - timeoutMilliseconds: 1000