Skip to content

Commit

Permalink
update of any-sync-* versions, fixes of some configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
mighty-sponge committed Sep 12, 2024
1 parent 1ad0d23 commit 0d785aa
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 19 deletions.
4 changes: 2 additions & 2 deletions roles/any_sync_consensusnode/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
any_sync_consensusnode_user: any-sync-consensusnode
any_sync_consensusnode_group: any-sync-consensusnode

any_sync_consensusnode_version: 0.1.5
any_sync_consensusnode_version: 0.1.7
any_sync_consensusnode_release_system: amd64 # aarch64.rpm x86_64.rpm amd64.deb arm64.deb
any_sync_consensusnode_release_name_rhel: "any-sync-consensusnode-{{ any_sync_consensusnode_version }}-1.{{ any_sync_consensusnode_release_system }}.rpm"
any_sync_consensusnode_download_url_rhel: "https://github.com/anyproto/any-sync-consensusnode/releases/download/v{{ any_sync_consensusnode_version}}/{{ any_sync_consensusnode_release_name_rhel }}"
Expand All @@ -27,6 +27,7 @@ any_sync_consensusnode_config:
defaultLevel: ''
namedLevels: {}
production: false

networkStorePath: "{{ any_sync_consensusnode_networkStorePath }}"

mongo:
Expand All @@ -37,7 +38,6 @@ any_sync_consensusnode_config:
drpc:
stream:
maxMsgSizeMb: 256
timeoutMilliseconds: 1000

yamux:
dialTimeoutSec: 10
Expand Down
14 changes: 7 additions & 7 deletions roles/any_sync_coordinator/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
any_sync_coordinator_user: any_sync_coordinator
any_sync_coordinator_group: any_sync_coordinator

any_sync_coordinator_version: 0.3.17
any_sync_coordinator_version: 0.3.26
any_sync_coordinator_release_system: amd64 # aarch64.rpm x86_64.rpm amd64.deb arm64.deb
any_sync_coordinator_release_name_rhel: "any-sync-coordinator-{{ any_sync_coordinator_version }}-1.{{ any_sync_coordinator_release_system }}.rpm"
any_sync_coordinator_download_url_rhel: "https://github.com/anyproto/any-sync-coordinator/releases/download/v{{ any_sync_coordinator_version}}/{{ any_sync_coordinator_release_name_rhel }}"
Expand All @@ -23,17 +23,17 @@ any_sync_coordinator_config:
drpc:
stream:
maxMsgSizeMb: 256
timeoutMilliseconds: 1000

defaultLimits:
sharedSpacesLimit: 3
spaceMembersRead: 3
spaceMembersWrite: 3
spaceMembersRead: 1000
spaceMembersWrite: 1000
sharedSpacesLimit: 1000

log:
defaultLevel: ''
namedLevels: {}
production: false

networkStorePath: "{{ any_sync_coordinator_networkStorePath }}"

metric:
Expand All @@ -46,8 +46,8 @@ any_sync_coordinator_config:
spaces: spaces

spaceStatus:
deletionPeriodDays: 30
runSeconds: 20
runSeconds: 5
deletionPeriodDays: 0

yamux:
dialTimeoutSec: 10
Expand Down
6 changes: 3 additions & 3 deletions roles/any_sync_filenode/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
any_sync_filenode_user: any-sync-filenode
any_sync_filenode_group: any-sync-filenode

any_sync_filenode_version: 0.6.1
any_sync_filenode_version: 0.7.2
any_sync_filenode_release_system: amd64 # aarch64.rpm x86_64.rpm amd64.deb arm64.deb
any_sync_filenode_release_name_rhel: "any-sync-filenode-{{ any_sync_filenode_version }}-1.{{ any_sync_filenode_release_system }}.rpm"
any_sync_filenode_download_url_rhel: "https://github.com/anyproto/any-sync-filenode/releases/download/v{{ any_sync_filenode_version}}/{{ any_sync_filenode_release_name_rhel }}"
Expand Down Expand Up @@ -31,7 +31,6 @@ any_sync_filenode_config:
drpc:
stream:
maxMsgSizeMb: 256
timeoutMilliseconds: 1000

metric:
addr: "0.0.0.0:{{ any_sync_filenode_metric_port }}"
Expand All @@ -40,6 +39,7 @@ any_sync_filenode_config:
defaultLevel: ''
namedLevels: {}
production: false

networkStorePath: "{{ any_sync_filenode_networkStorePath }}"

redis:
Expand All @@ -55,7 +55,7 @@ any_sync_filenode_config:
endpoint: "http://{{ hostvars['minio'].ansible_host }}:9000" # only for self-hosted S3
forcePathStyle: true # only for self-hosted S3

defaultLimit: 1073741824
defaultLimit: 1099511627776

yamux:
dialTimeoutSec: 10
Expand Down
11 changes: 4 additions & 7 deletions roles/any_sync_node/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
any_sync_node_user: any-sync-node
any_sync_node_group: any-sync-node

any_sync_node_version: 0.3.25
any_sync_node_version: 0.3.34
any_sync_node_release_system: amd64 # available: aarch64.rpm x86_64.rpm amd64.deb arm64.deb
any_sync_node_release_name_rhel: "any-sync-node-{{ any_sync_node_version }}-1.{{ any_sync_node_release_system }}.rpm"
any_sync_node_download_url_rhel: "https://github.com/anyproto/any-sync-node/releases/download/v{{ any_sync_node_version}}/{{ any_sync_node_release_name_rhel }}"
Expand All @@ -22,12 +22,7 @@ any_sync_node_api_port: 8080

any_sync_node_config:
apiServer:
server:
listenAddrs:
- "{{ ansible_host }}:{{ any_sync_node_api_port }}"
stream:
maxMsgSizeMb: 256
timeoutMilliseconds: 1000
listenAddrs: "{{ ansible_host }}:{{ any_sync_node_api_port }}"

drpc:
stream:
Expand All @@ -38,6 +33,7 @@ any_sync_node_config:
defaultLevel: ''
namedLevels: {}
production: false

metric:
addr: "0.0.0.0:{{ any_sync_node_metric_port }}"

Expand All @@ -51,6 +47,7 @@ any_sync_node_config:

storage:
path: "{{ any_sync_node_storage_path }}"

networkStorePath: "{{ any_sync_node_networkStorePath }}"

yamux:
Expand Down

0 comments on commit 0d785aa

Please sign in to comment.