Merge pull request #547 from bugout-dev/autoupdate-dashboards

Dasboard update timer modified from 15m -> 6h
pull/540/head
Sergei Sumarokov 2022-01-31 16:18:14 +03:00 zatwierdzone przez GitHub
commit 4c4a0fbad9
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -1,5 +1,5 @@
[Unit]
Description=Update Polygon statistics dashboard
Description=Update Polygon statistics dashboards
After=network.target
[Service]
@ -8,4 +8,4 @@ User=ubuntu
Group=www-data
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 generate --blockchain polygon
ExecStart=/home/ubuntu/moonstream-env/bin/python -m mooncrawl.stats_worker.dashboard generate --blockchain polygon

Wyświetl plik

@ -1,9 +1,9 @@
[Unit]
Description=Update Polygon statistics dashboard each 5 minutes
Description=Update Polygon statistics dashboards each 6 hours
[Timer]
OnBootSec=10s
OnUnitActiveSec=15m
OnUnitActiveSec=6h
[Install]
WantedBy=timers.target
WantedBy=timers.target