Skip to content

Commit

Permalink
chore: add config parameter for shards
Browse files Browse the repository at this point in the history
  • Loading branch information
darshankabariya committed Jun 12, 2024
1 parent 5ad9267 commit c9692ac
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apps/wakucanary/wakucanary.nim
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ type WakuCanaryConf* = object
abbr: "p"
.}: seq[string]

shards* {.
desc: "Shards index to subscribe to [0..MAX_SHARDS-1]. Argument may be repeated.",
defaultValue: @[],
name: "shard",
abbr: "s"
.}: seq[uint16]

clusterId* {.
desc:
"Cluster id that the node is running in. Node in a different cluster id is disconnected.",
Expand Down

0 comments on commit c9692ac

Please sign in to comment.