remove AnnTorrentsToDht opt

have issues on disable
This commit is contained in:
nikk gitanes
2021-08-09 01:37:43 +03:00
parent 6af78cf041
commit 97fa9fdd4e
4 changed files with 1 additions and 11 deletions

View File

@@ -9,7 +9,6 @@ export default function SecondarySettingsComponent({ settings, inputForm }) {
const {
AcceptPeerCon,
AnnTorrentsToDht,
RetrackersMode,
TorrentDisconnectTimeout,
EnableIPv6,
@@ -86,11 +85,6 @@ export default function SecondarySettingsComponent({ settings, inputForm }) {
label={t('SettingsDialog.DHT')}
labelPlacement='start'
/>
<FormControlLabel
control={<Switch checked={AnnTorrentsToDht} onChange={inputForm} id='AnnTorrentsToDht' color='secondary' />}
label={t('SettingsDialog.AnnTorrentsToDht')}
labelPlacement='start'
/>
<FormControlLabel
control={<Switch checked={AcceptPeerCon} onChange={inputForm} id='AcceptPeerCon' color='secondary' />}
label={t('SettingsDialog.AcceptPeerCon')}

View File

@@ -1,6 +1,5 @@
export default {
AcceptPeerCon: true,
AnnTorrentsToDht: true,
CacheSize: 96,
ReaderReadAHead: 95,
UseDisk: false,