persepolisdm / persepolis

Persepolis Download Manager is a GUI for aria2.
https://persepolisdm.github.io
GNU General Public License v3.0
6.13k stars 649 forks source link

How to increase persepolis connection numbers? #870

Closed Razinal closed 3 years ago

Razinal commented 3 years ago

System Details:

Hi,

I have a modified aria2c with 32 connections per server capability. I'd like to know where in source code these two aria2c settings are embedded so I can change their hard limit? --min-split-size --max-connection-per-server

Thank you for your excellent work with this software.

Razinal commented 3 years ago

I found out these for now and will test them later: download.py:

        'split': '16',

setting_ui.py:

    self.connections_spinBox.setMaximum(16)

addlink_ui.py:

    self.connections_spinBox.setMaximum(16)
    self.connections_spinBox.setProperty("value", 16)

text_queue_ui.py:

    self.connections_spinBox.setMaximum(16)
    self.connections_spinBox.setProperty("value", 16)

useful_tools.py:

                        'connections': 16

I'll change them to 32 and see what happens.

Razinal commented 3 years ago

Well, It does appear to be working.