Skip to content
Snippets Groups Projects
Commit b43f3c67 authored by Wilbur, Spencer Franklin's avatar Wilbur, Spencer Franklin
Browse files

changed the ports from 22061 back to 2061 except for the defined port in...

changed the ports from 22061 back to 2061 except for the defined port in MiniSeedFactory.py which is set to 7974 on line 28
parent 7719e3f1
No related branches found
No related tags found
1 merge request!225changed the port from 2061 to 22061 for data.py, MiniseedFactory.py and MiniseedInputCllient.py
...@@ -36,7 +36,7 @@ def get_data_factory( ...@@ -36,7 +36,7 @@ def get_data_factory(
SamplingPeriod.DAY, SamplingPeriod.DAY,
]: ]:
factory = MiniSeedFactory( factory = MiniSeedFactory(
host=host, port=int(os.getenv("DATA_MINISEED_PORT", "22061")) host=host, port=int(os.getenv("DATA_MINISEED_PORT", "2061"))
) )
elif sampling_period in [SamplingPeriod.SECOND, SamplingPeriod.MINUTE]: elif sampling_period in [SamplingPeriod.SECOND, SamplingPeriod.MINUTE]:
factory = EdgeFactory( factory = EdgeFactory(
......
...@@ -70,7 +70,7 @@ class MiniSeedFactory(TimeseriesFactory): ...@@ -70,7 +70,7 @@ class MiniSeedFactory(TimeseriesFactory):
def __init__( def __init__(
self, self,
host: str = "edgecwb.usgs.gov", host: str = "edgecwb.usgs.gov",
port: int = 22061, port: int = 2061,
write_port: int = 7974, write_port: int = 7974,
observatory: Optional[str] = None, observatory: Optional[str] = None,
channels: Optional[List[str]] = None, channels: Optional[List[str]] = None,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment