- GET /v1/names/health — registrar balance, registrations remaining, chain status - Returns 503 when critically low (< 2 registrations) - Pre-flight balance check in register endpoint rejects early if wallet empty - Thresholds: low_funds < 10, critical < 2 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
7 lines
167 B
Bash
Executable file
7 lines
167 B
Bash
Executable file
#!/bin/bash
|
|
cd /home/claude/Code/lthn/lthn.io-php
|
|
while true; do
|
|
php -S 0.0.0.0:8000 -t public
|
|
echo "PHP server crashed, restarting in 3s..."
|
|
sleep 3
|
|
done
|