mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
revert to old engine
This commit is contained in:
@@ -8,8 +8,6 @@ export default function SecondarySettingsComponent({ settings, inputForm }) {
|
||||
const { t } = useTranslation()
|
||||
|
||||
const {
|
||||
AcceptPeerCon,
|
||||
AnnTorrentsToDht,
|
||||
RetrackersMode,
|
||||
TorrentDisconnectTimeout,
|
||||
EnableIPv6,
|
||||
@@ -23,6 +21,7 @@ export default function SecondarySettingsComponent({ settings, inputForm }) {
|
||||
DownloadRateLimit,
|
||||
UploadRateLimit,
|
||||
ConnectionsLimit,
|
||||
DhtConnectionLimit,
|
||||
PeersListenPort,
|
||||
} = settings || {}
|
||||
|
||||
@@ -86,15 +85,15 @@ 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')}
|
||||
labelPlacement='start'
|
||||
<TextField
|
||||
onChange={inputForm}
|
||||
margin='normal'
|
||||
id='DhtConnectionLimit'
|
||||
label={t('SettingsDialog.DhtConnectionLimit')}
|
||||
value={DhtConnectionLimit}
|
||||
type='number'
|
||||
variant='outlined'
|
||||
fullWidth
|
||||
/>
|
||||
<br />
|
||||
<TextField
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
export default {
|
||||
AcceptPeerCon: true,
|
||||
AnnTorrentsToDht: true,
|
||||
CacheSize: 96,
|
||||
ReaderReadAHead: 95,
|
||||
UseDisk: false,
|
||||
UploadRateLimit: 0,
|
||||
TorrentsSavePath: '',
|
||||
ConnectionsLimit: 23,
|
||||
DhtConnectionLimit: 500,
|
||||
DisableDHT: false,
|
||||
DisablePEX: false,
|
||||
DisableTCP: false,
|
||||
@@ -21,5 +20,6 @@ export default {
|
||||
PreloadCache: 0,
|
||||
RemoveCacheOnDrop: false,
|
||||
RetrackersMode: 1,
|
||||
Strategy: 0,
|
||||
TorrentDisconnectTimeout: 30,
|
||||
}
|
||||
|
||||
@@ -84,8 +84,6 @@
|
||||
"Seconds": "Seconds",
|
||||
"SelectSeason": "Select Season",
|
||||
"SettingsDialog": {
|
||||
"AcceptPeerCon": "Accept Peer Connections",
|
||||
"AnnTorrentsToDht": "Periodically Announce Torrents to DHT",
|
||||
"AddRetrackers": "Add retrackers",
|
||||
"AdditionalSettings": "Additional Settings",
|
||||
"CacheBeforeReaderDesc": "from cache will be saved before currently played frame",
|
||||
|
||||
@@ -84,8 +84,6 @@
|
||||
"Seconds": "Секунды",
|
||||
"SelectSeason": "Выбор сезона",
|
||||
"SettingsDialog": {
|
||||
"AcceptPeerCon": "Принимать входящие соединения",
|
||||
"AnnTorrentsToDht": "Анонсировать торренты по DHT",
|
||||
"AddRetrackers": "Добавлять",
|
||||
"AdditionalSettings": "Дополнительные настройки",
|
||||
"CacheBeforeReaderDesc": "от кеша будет оставаться позади воспроизводимого кадра",
|
||||
|
||||
Reference in New Issue
Block a user