Commit 920ed3ac authored by Moul's avatar Moul
Browse files

[mod] #126: move CONNECTION_TIMEOUT in constant file.

parent 3af5f123
...@@ -4,3 +4,4 @@ G1_SYMBOL = "Ğ1" ...@@ -4,3 +4,4 @@ G1_SYMBOL = "Ğ1"
GTEST_SYMBOL = "ĞTest" GTEST_SYMBOL = "ĞTest"
G1_DEFAULT_ENDPOINT = "g1.duniter.org", "443" G1_DEFAULT_ENDPOINT = "g1.duniter.org", "443"
G1_TEST_DEFAULT_ENDPOINT = "g1-test.duniter.org", "443" G1_TEST_DEFAULT_ENDPOINT = "g1-test.duniter.org", "443"
CONNECTION_TIMEOUT = 10
...@@ -7,8 +7,7 @@ import logging ...@@ -7,8 +7,7 @@ import logging
from sys import exit, stderr from sys import exit, stderr
from commandlines import Command from commandlines import Command
from silkaj.constants import G1_DEFAULT_ENDPOINT, G1_TEST_DEFAULT_ENDPOINT from silkaj.constants import G1_DEFAULT_ENDPOINT, G1_TEST_DEFAULT_ENDPOINT, CONNECTION_TIMEOUT
CONNECTION_TIMEOUT = 10
def discover_peers(discover): def discover_peers(discover):
""" """
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment