Commit 70c7e3c7 authored by mancini's avatar mancini

Increase default timeout

parent 5ad48816
......@@ -73,7 +73,7 @@ def define_get_crosslet_statistics_parameters(object, idx):
def connect_to_server(url, port):
client = Client("opc.tcp://{}:{}/".format(url, port))
client = Client("opc.tcp://{}:{}/".format(url, port), timeout=1000)
client.connect()
client.load_type_definitions()
return client
......@@ -84,7 +84,6 @@ def setup_server_metadata(server=None, port=55555):
server = Server()
server.set_endpoint("opc.tcp://0.0.0.0:%d/LOFAR2.0/CROSSECHO" % port)
server.set_server_name("LOFAR2.0 Crosscorrelations statistic echo server (CROSSECHO)")
server.default_timeout = 60 * 1000
return server
......
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