deluge -u console -a "config --set max_connections_global 0"
In deluge 1.1.1 the correct setting will change to 0. Problem is it has zero effect as well - there are still people connected to me & vice versa, and deluge shows how many. If I set the value to 1 or any other positivr number using the console command above it will work, but setting it 0 doesn't seem to have the expected result.