fix: keep kimi queue labels truthful (#415)
This commit was merged in pull request #415.
This commit is contained in:
@@ -21,12 +21,7 @@ set -euo pipefail
|
|||||||
# --- Config ---
|
# --- Config ---
|
||||||
TOKEN=$(cat "$HOME/.timmy/kimi_gitea_token" | tr -d '[:space:]')
|
TOKEN=$(cat "$HOME/.timmy/kimi_gitea_token" | tr -d '[:space:]')
|
||||||
TIMMY_TOKEN=$(cat "$HOME/.config/gitea/timmy-token" | tr -d '[:space:]')
|
TIMMY_TOKEN=$(cat "$HOME/.config/gitea/timmy-token" | tr -d '[:space:]')
|
||||||
# Prefer Tailscale (private network) over public IP
|
BASE="${GITEA_API_BASE:-https://forge.alexanderwhitestone.com/api/v1}"
|
||||||
if curl -sf --connect-timeout 2 "http://100.126.61.75:3000/api/v1/version" > /dev/null 2>&1; then
|
|
||||||
BASE="http://100.126.61.75:3000/api/v1"
|
|
||||||
else
|
|
||||||
BASE="http://143.198.27.163:3000/api/v1"
|
|
||||||
fi
|
|
||||||
LOG="/tmp/kimi-heartbeat.log"
|
LOG="/tmp/kimi-heartbeat.log"
|
||||||
LOCKFILE="/tmp/kimi-heartbeat.lock"
|
LOCKFILE="/tmp/kimi-heartbeat.lock"
|
||||||
MAX_DISPATCH=10 # Increased max dispatch to 10
|
MAX_DISPATCH=10 # Increased max dispatch to 10
|
||||||
|
|||||||
Reference in New Issue
Block a user