Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prv candidates retrieval #254

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions conf/supervisord_ingester.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,16 @@ stdout_logfile_maxbytes = 50MB
redirect_stderr = True
environment = PYTHONPATH=".", PRODUCTION=1

[program:dask-cluster-retrieval]
command = python kowalski/dask_clusters/dask_cluster_retrieval.py
directory = ./
autostart = {{ enabled.retrieval }}
autorestart = True
stdout_logfile = logs/dask_cluster_retrieval.log
stdout_logfile_maxbytes = 50MB
redirect_stderr = True
environment = PYTHONPATH=".", PRODUCTION=1, MALLOC_TRIM_THRESHOLD_=65536

[program:alert-broker-ztf]
command = python kowalski/alert_brokers/alert_broker_ztf.py
directory = ./
Expand Down
11 changes: 11 additions & 0 deletions config.defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1226,6 +1226,16 @@ kowalski:
lifetime_stagger: 1 hours
lifetime_restart: true

dask_retrieval:
host: 127.0.0.1
scheduler_port: 8792
dashboard_address: :8793
n_workers: 30
threads_per_worker: 1
lifetime: 24 hours
lifetime_stagger: 1 hours
lifetime_restart: true

misc:
# working stand-alone or in conjunction with a SkyPortal instance?
broker: False
Expand All @@ -1246,3 +1256,4 @@ kowalski:
pgir: True
wntr: True
turbo: True
retrieval: True
2 changes: 2 additions & 0 deletions ingester.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ COPY ["kowalski/dask_clusters/__init__.py", \
"kowalski/dask_clusters/dask_cluster_pgir.py", \
"kowalski/dask_clusters/dask_cluster_winter.py", \
"kowalski/dask_clusters/dask_cluster_turbo.py", \
"kowalski/dask_clusters/dask_cluster_retrieval.py", \
"kowalski/dask_clusters/"]

COPY ["kowalski/alert_brokers/__init__.py", \
Expand All @@ -77,6 +78,7 @@ COPY ["kowalski/alert_brokers/__init__.py", \
"kowalski/alert_brokers/alert_broker_pgir.py", \
"kowalski/alert_brokers/alert_broker_winter.py", \
"kowalski/alert_brokers/alert_broker_turbo.py", \
"kowalski/alert_brokers/alert_broker_retrieval.py", \
"kowalski/alert_brokers/"]


Expand Down
Loading
Loading