proteccion ampliada (r34): autodeploy/urgent-watch/daily-report/promo+approval units en CODEOWNERS y exclusion del auto-merger + estado de DMs fuera de los checkouts (fix D2)
This commit is contained in:
@@ -42,11 +42,11 @@ EOF
|
||||
echo ""
|
||||
echo "== 2b. DMs urgentes (politica r33) =="
|
||||
NDM=$(journalctl -u cayce-nostr --since "-24 hours" --no-pager 2>/dev/null | grep -c "\[dm\] envio a")
|
||||
UCOUNT=$(python3 -c "import json; print(json.load(open('/srv/cayce-core/.dm-urgent-count.json')).get('$(date -u +%F)', 0))" 2>/dev/null || echo 0)
|
||||
UCOUNT=$(python3 -c "import json; print(json.load(open('/var/lib/cayce/dm/urgent-count.json')).get('$(date -u +%F)', 0))" 2>/dev/null || echo 0)
|
||||
echo " DMs NIP-04 enviados (24h, todas las causas): $NDM · urgentes de hoy (tope 3): $UCOUNT"
|
||||
if [ -s /srv/cayce-core/.dm-deferred.log ]; then
|
||||
if [ -s /var/lib/cayce/dm/deferred.log ]; then
|
||||
echo " diferidos por tope (van aqui en vez de DM):"
|
||||
tail -5 /srv/cayce-core/.dm-deferred.log | sed "s/^/ /"
|
||||
tail -5 /var/lib/cayce/dm/deferred.log | sed "s/^/ /"
|
||||
fi
|
||||
if [ -f /srv/cayce-core/PUBLISH_OFF ]; then
|
||||
echo " kill switch: ACTIVO ($(head -c 20 /srv/cayce-core/PUBLISH_OFF 2>/dev/null))"
|
||||
|
||||
Reference in New Issue
Block a user