mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-21 10:16:44 +00:00
fix(scripts): keep ntfy auth notifications from hanging (#108650)
* fix(scripts): bound ntfy auth notifications * test(queue): align Sol default with current main * fix(protocol): regenerate bundled clients for sessions thinkingLevel --------- Co-authored-by: Peter Steinberger <steipete@gmail.com>
This commit is contained in:
co-authored by
Peter Steinberger
parent
4d25ce0605
commit
139a310b96
@@ -53,7 +53,7 @@ send_notification() {
|
||||
# Send via ntfy.sh if configured
|
||||
if [ -n "$NOTIFY_NTFY" ]; then
|
||||
echo "Sending via ntfy.sh to $NOTIFY_NTFY..."
|
||||
curl -s -o /dev/null \
|
||||
curl -s --connect-timeout 5 --max-time 15 -o /dev/null \
|
||||
-H "Title: OpenClaw Auth Alert" \
|
||||
-H "Priority: $priority" \
|
||||
-H "Tags: warning,key" \
|
||||
|
||||
@@ -50,6 +50,12 @@ describe("auth monitoring scripts", () => {
|
||||
);
|
||||
});
|
||||
|
||||
it("bounds ntfy notification requests", () => {
|
||||
const script = readScript(AUTH_MONITOR_PATH);
|
||||
|
||||
expect(script).toContain("curl -s --connect-timeout 5 --max-time 15 -o /dev/null");
|
||||
});
|
||||
|
||||
it("keeps mobile reauth wired to local auth status and Claude token setup", () => {
|
||||
const script = readScript(MOBILE_REAUTH_PATH);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user