diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-07-17 11:05:00 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-17 11:05:00 -0500 |
| commit | 80acf5a658a4c274cb75fa1befd55f5768769c21 (patch) | |
| tree | 38e384f4f75878dcf457bead96401c297262ed2a | |
| parent | d4b0fad9cb82e70cc10a1f6189fa17c1a65c9c46 (diff) | |
| parent | 7322aac4a5431348279eaf08d8511ae81ab89478 (diff) | |
| download | slskd-80acf5a658a4c274cb75fa1befd55f5768769c21.tar.gz | |
Merge pull request #551 from slskd/warnings
Resolve a handful of linting warnings
| -rw-r--r-- | src/slskd/Application.cs | 2 | ||||
| -rw-r--r-- | src/slskd/Common/RateLimiter.cs | 2 | ||||
| -rw-r--r-- | src/slskd/Core/Extensions.cs | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/src/slskd/Application.cs b/src/slskd/Application.cs index b0bccd6c..a307a291 100644 --- a/src/slskd/Application.cs +++ b/src/slskd/Application.cs @@ -69,8 +69,6 @@ namespace slskd /// </summary> public static readonly string LeecherGroup = "leechers"; - private static readonly int ReconnectMaxDelayMilliseconds = 300000; // 5 minutes - public Application( OptionsAtStartup optionsAtStartup, IOptionsMonitor<Options> optionsMonitor, diff --git a/src/slskd/Common/RateLimiter.cs b/src/slskd/Common/RateLimiter.cs index e54514d7..a93bbebf 100644 --- a/src/slskd/Common/RateLimiter.cs +++ b/src/slskd/Common/RateLimiter.cs @@ -29,7 +29,7 @@ namespace slskd /// Initializes a new instance of the <see cref="RateLimiter"/> class. /// </summary> /// <param name="interval">The minimum interval between invocations.</param> - /// <param name="flushOnDispose">A value indicating whether pending action(s) should be executed during disposal</param> + /// <param name="flushOnDispose">A value indicating whether pending action(s) should be executed during disposal.</param> public RateLimiter(int interval, bool flushOnDispose = false) { Timer = new System.Timers.Timer(interval) diff --git a/src/slskd/Core/Extensions.cs b/src/slskd/Core/Extensions.cs index d818d387..65942180 100644 --- a/src/slskd/Core/Extensions.cs +++ b/src/slskd/Core/Extensions.cs @@ -75,7 +75,7 @@ namespace slskd /// <summary> /// Creates a new instance of <see cref="UserStatisticsState"/> from this instance of <see cref="UserStatistics"/>. /// </summary> - /// <param name="stats">The UserStatistics instance from which to copy data</param> + /// <param name="stats">The UserStatistics instance from which to copy data.</param> /// <returns>The new instance.</returns> public static UserStatisticsState ToUserStatisticsState(this UserStatistics stats) => new() { |
