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"
GTEST_SYMBOL = "ĞTest"
G1_DEFAULT_ENDPOINT = "g1.duniter.org", "443"
G1_TEST_DEFAULT_ENDPOINT = "g1-test.duniter.org", "443"
CONNECTION_TIMEOUT = 10
......@@ -7,8 +7,7 @@ import logging
from sys import exit, stderr
from commandlines import Command
from silkaj.constants import G1_DEFAULT_ENDPOINT, G1_TEST_DEFAULT_ENDPOINT
CONNECTION_TIMEOUT = 10
from silkaj.constants import G1_DEFAULT_ENDPOINT, G1_TEST_DEFAULT_ENDPOINT, CONNECTION_TIMEOUT
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