Skip to content

Commit

Permalink
changed server_address defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyaven committed Oct 15, 2023
1 parent e127bc2 commit ab4799d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pystackql/stackql.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def _run_query(self, query, is_statement=False):

def __init__(self,
server_mode=False,
server_address='0.0.0.0',
server_address='127.0.0.1',
server_port=5466,
download_dir=None,
output='dict',
Expand Down
2 changes: 1 addition & 1 deletion tests/pystackql_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def setUpModule():
print(res)
print("starting stackql server...")
PyStackQLTestsBase.server_process = subprocess.Popen([PyStackQLTestsBase.stackql.bin_path, "srv", "--pgsrv.address", server_address, "--pgsrv.port", str(server_port)])
time.sleep(5)
time.sleep(10)

def tearDownModule():
print("stopping stackql server...")
Expand Down

0 comments on commit ab4799d

Please sign in to comment.