wyrm-blocks-transactions
Andrey 2023-03-14 14:24:28 +02:00
rodzic 534004851f
commit 0e3b4928a7
5 zmienionych plików z 11 dodań i 11 usunięć

Wyświetl plik

@ -1,11 +1,11 @@
[Unit]
Description=Fill missing blocks at Polygon database
Description=Fill missing blocks at Wyrm database
After=network.target
[Service]
Type=oneshot
WorkingDirectory=/home/ubuntu/moonstream/crawlers/mooncrawl
EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.crawler --access-id "${NB_CONTROLLER_ACCESS_ID}" blocks missing --blockchain polygon -n
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.crawler --access-id "${NB_CONTROLLER_ACCESS_ID}" blocks missing --blockchain wyrm
CPUWeight=50
SyslogIdentifier=polygon-missing
SyslogIdentifier=wyrm-missing

Wyświetl plik

@ -1,5 +1,5 @@
[Unit]
Description=Fill missing blocks at Polygon database
Description=Fill missing blocks at Wyrm database
[Timer]
OnBootSec=120s

Wyświetl plik

@ -1,11 +1,11 @@
[Unit]
Description=Update XDai statistics dashboards
Description=Update Wyrm statistics dashboards
After=network.target
[Service]
Type=oneshot
WorkingDirectory=/home/ubuntu/moonstream/crawlers/mooncrawl
EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.stats_worker.dashboard --access-id "${NB_CONTROLLER_ACCESS_ID}" generate --blockchain xdai
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.stats_worker.dashboard --access-id "${NB_CONTROLLER_ACCESS_ID}" generate --blockchain wyrm
CPUWeight=60
SyslogIdentifier=xdai-statistics
SyslogIdentifier=wyrm-statistics

Wyświetl plik

@ -1,5 +1,5 @@
[Unit]
Description=Update XDai statistics dashboards each 6 hours
Description=Update Wyrm statistics dashboards each 6 hours
[Timer]
OnBootSec=25s

Wyświetl plik

@ -1,5 +1,5 @@
[Unit]
Description=Polygon block with transactions synchronizer
Description=Wyrm block with transactions synchronizer
StartLimitIntervalSec=300
StartLimitBurst=3
After=network.target
@ -9,9 +9,9 @@ Restart=on-failure
RestartSec=15s
WorkingDirectory=/home/ubuntu/moonstream/crawlers/mooncrawl
EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.crawler --access-id "${NB_CONTROLLER_ACCESS_ID}" blocks synchronize --blockchain polygon -c 60 -j 2
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.crawler --access-id "${NB_CONTROLLER_ACCESS_ID}" blocks synchronize --blockchain wyrm -c 0 -j 1
CPUWeight=90
SyslogIdentifier=polygon-synchronize
SyslogIdentifier=wyrm-synchronize
[Install]
WantedBy=multi-user.target