diff options
| author | JP Dillingham <jp@dillingham.me> | 2025-04-05 17:11:39 -0500 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2025-04-05 17:11:39 -0500 |
| commit | 01e41848bdf9e40930ea4b60f8f4f3fbe8ea4037 (patch) | |
| tree | 28abda9d740bebf2ea511d688889f4bd2fb64610 | |
| parent | ac53fb5b3639292113b06876a05f402f7d1f0520 (diff) | |
| download | slskd-01e41848bdf9e40930ea4b60f8f4f3fbe8ea4037.tar.gz | |
set inactivity back to 15s
| -rw-r--r-- | config/slskd.example.yml | 2 | ||||
| -rw-r--r-- | src/slskd/Core/Options.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config/slskd.example.yml b/config/slskd.example.yml index 69725415..40ddcc5e 100644 --- a/config/slskd.example.yml +++ b/config/slskd.example.yml @@ -204,7 +204,7 @@ # connection: # timeout: # connect: 10000 -# inactivity: 30000 +# inactivity: 15000 # buffer: # read: 16384 # write: 16384 diff --git a/src/slskd/Core/Options.cs b/src/slskd/Core/Options.cs index 68856b36..aeba446c 100644 --- a/src/slskd/Core/Options.cs +++ b/src/slskd/Core/Options.cs @@ -1664,7 +1664,7 @@ namespace slskd [EnvironmentVariable("SLSK_INACTIVITY_TIMEOUT")] [Description("connection inactivity timeout, in milliseconds")] [Range(1000, int.MaxValue)] - public int Inactivity { get; init; } = 30000; + public int Inactivity { get; init; } = 15000; } /// <summary> |
