issues
search
mennanov
/
limiters
Golang rate limiters for distributed applications
https://godoc.org/github.com/mennanov/limiters
MIT License
458
stars
49
forks
source link
Change `id` type from `uint32` to `int64` in LockPostgreSQL
#74
Closed
nilpoona
closed
2 months ago
nilpoona
commented
2 months ago
pg_advisory_xact_lock() accepts either a single bigint argument or two integer arguments.
https://www.postgresql.org/docs/16/functions-admin.html
There is no need to limit the variable id passed to pg_advisory_xact_lock to uint32; I would like to change it to int64 to handle a wider range of values.
mennanov
commented
2 months ago
LGTM, thanks for contributing!