Skip to content

Commit

Permalink
example(discord): reduce heartbeat ttl to 5mins
Browse files Browse the repository at this point in the history
  • Loading branch information
cablehead committed Dec 11, 2024
1 parent 5ea35d2 commit 998af99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/discord-bot/handler-heartbeat.nu
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def "scru128-since" [$id1, $id2] {
}

def .send [] {
to json -r | $"($in)\n" | .append "discord.ws.send" --ttl time:3600000
to json -r | $"($in)\n" | .append "discord.ws.send" --ttl time:300000
}

{|frame, state|
Expand Down

0 comments on commit 998af99

Please sign in to comment.