File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,6 @@ func (bt *BTServer) configure(ctx context.Context) {
111111 bt .config .ExtendedHandshakeClientVersion = cliVers
112112 bt .config .EstablishedConnsPerTorrent = settings .BTsets .ConnectionsLimit
113113 bt .config .TotalHalfOpenConns = 500
114- bt .config .Seed = true
115114 // Encryption/Obfuscation
116115 bt .config .EncryptionPolicy = torrent.EncryptionPolicy { // OE
117116 ForceEncryption : settings .BTsets .ForceEncrypt , // OE
@@ -124,6 +123,7 @@ func (bt *BTServer) configure(ctx context.Context) {
124123 bt .config .DownloadRateLimiter = utils .Limit (settings .BTsets .DownloadRateLimit * 1024 )
125124 }
126125 if settings .BTsets .UploadRateLimit > 0 {
126+ bt .config .Seed = true
127127 bt .config .UploadRateLimiter = utils .Limit (settings .BTsets .UploadRateLimit * 1024 )
128128 }
129129 if settings .TorAddr != "" {
You can’t perform that action at this time.
0 commit comments