ffledgling / dtella

A distributed P2P system which emulates a Direct Connect hub, primarily for college campuses and other low-latency LANs. http://dtella.org
GNU General Public License v2.0
16 stars 19 forks source link

Added A Minshare feature #14

Open ParthKolekar opened 9 years ago

ParthKolekar commented 9 years ago

cleaned the previous commit sending request from minshare branch, so that history is clean

ParthKolekar commented 9 years ago

@ffledgling @nehaljwani

The use of the feature may be under debate, plus, this is crude patch, because dtella does not update minshare from 1 for the current setup.

ffledgling commented 9 years ago

Aren't global level values in a separate config.py file?

ParthKolekar commented 9 years ago

There is no config.py that I see... there is

bridge_config.py push_dconfig.py pull_dconfig.py

ffledgling commented 9 years ago

https://github.com/ffledgling/dtella/blob/master/dtella/local_config.py

ParthKolekar commented 9 years ago

@ffledgling There is indeed one value I remember trying to set in the config, but the init set's the value to be 1 (1 byte) and the config is never read. The 1 byte stays until the end of time, and is not even changed ever.

I have allowed AGREED_UPON_MINSHARE var which is actually read by the and used.