Commit Graph

4 Commits

Author SHA1 Message Date
Roberto Hidalgo
038e09b202 lol, 64bit integer overflows are fun to debug
specially when running a multi-arch cluster and HA with poor observability. a `time.Duration` was being casted to an `int` (because I clearly have no clue of what I'm doing). All is well on 64-bit processors, but 32-bit processors choke on the very long micro-second precision int, overflow, and turn `7d`, around `604800` seconds into `-114753536` seconds, which the browser happily (and correctly) turns into a cookie sent to /dev/null. lol.
2023-02-11 12:01:16 -06:00
Roberto Hidalgo
7e5dbed4f5 refactor and nice stuff 2023-01-03 22:21:49 -06:00
Roberto Hidalgo
bf7e3d7785 some user rest crud, refactor middleware, start admin 2023-01-02 00:57:17 -06:00
Roberto Hidalgo
e20c05bc74 knock knock 2022-12-31 00:06:39 -06:00