Skip to content

Commit 719f610

Browse files
authored
Merge pull request #588 from weaviate/chore/annotate-deprecated
chore(config): annotate deprecated parameters in async replication config
2 parents bbe4af1 + d591c4c commit 719f610

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main/java/io/weaviate/client6/v1/api/collections/Replication.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ public Builder hashTreeHeight(int hashTreeHeight) {
9898
*
9999
* @deprecated This paramter should be controled server-side.
100100
*/
101+
@Deprecated
101102
public Builder maxWorkers(int maxWorkers) {
102103
this.maxWorkers = maxWorkers;
103104
return this;
@@ -126,6 +127,7 @@ public Builder frequencyMillisWhilePropagating(int frequencyMillisWhilePropagati
126127
*
127128
* @deprecated This parameter should be controled server-side.
128129
*/
130+
@Deprecated
129131
public Builder aliveNodesCheckingFrequencyMillis(int aliveNodesCheckingFrequencyMillis) {
130132
this.aliveNodesCheckingFrequencyMillis = aliveNodesCheckingFrequencyMillis;
131133
return this;

0 commit comments

Comments
 (0)