since and until are not pointers anymore because that is too annoying.

This commit is contained in:
fiatjaf
2025-05-08 09:32:54 -03:00
parent 0853405c03
commit c0934e0639
17 changed files with 55 additions and 85 deletions

View File

@@ -492,8 +492,7 @@ func (pool *Pool) subMany(
// this means the connection was closed for weird reasons, like the server shut down
// so we will update the filters here to include only events seem from now on
// and try to reconnect until we succeed
now := Now()
filter.Since = &now
filter.Since = Now()
debugLogf("%s reconnecting because sub.Events is broken\n", nm)
goto reconnect
}