File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -72,12 +72,22 @@ public FileSystemRepositoryDescriptor RestoreBytesPerSecondMaximum(string maximu
7272 /// Throttles per node snapshot rate. Defaults to 20mb per second.
7373 /// </summary>
7474 /// <param name="maximumBytesPerSecond"></param>
75+ [ Obsolete ( "Typo, Scheduled to be removed in 2.0 use the correctly spelled method" ) ]
7576 public FileSystemRepositoryDescriptor SnapshortBytesPerSecondMaximum ( string maximumBytesPerSecond )
7677 {
7778 Self . Settings [ "max_snapshot_bytes_per_sec" ] = maximumBytesPerSecond ;
7879 return this ;
7980 }
80-
81+
82+ /// <summary>
83+ /// Throttles per node snapshot rate. Defaults to 20mb per second.
84+ /// </summary>
85+ /// <param name="maximumBytesPerSecond"></param>
86+ public FileSystemRepositoryDescriptor SnapshotBytesPerSecondMaximum ( string maximumBytesPerSecond )
87+ {
88+ Self . Settings [ "max_snapshot_bytes_per_sec" ] = maximumBytesPerSecond ;
89+ return this ;
90+ }
8191
8292 }
8393}
You can’t perform that action at this time.
0 commit comments