change around pings, fix main.js so the actual real fucking number shows instead of it freaking out.

This commit is contained in:
KingKDot
2026-07-09 13:55:36 -05:00
parent f96b3d0721
commit 43ee5a7d4b
12 changed files with 293 additions and 32 deletions
+2 -2
View File
@@ -10,8 +10,8 @@ import (
func HandlePing(ctx context.Context, env *runtime.Env, envelope map[string]interface{}) error {
ts := extractTimestamp(envelope["ts"])
if ts == 0 {
ts, ok := extractTimestampIfPresent(envelope["ts"])
if !ok {
ts = time.Now().UnixMilli()
}
env.SetLastPong(time.Now().UnixMilli())