Commit 2dfa43a
authored
fix: ensure payload size check respects PostgreSQL NOTIFY limit (#17)
The previous check used `>` instead of `>=` with a default threshold of 8000 bytes.
Since PostgreSQL's `NOTIFY` command has a strict limit of 7999 bytes, a payload
of exactly 8000 bytes would bypass the attachment logic and cause the query
to fail.1 parent a9300c1 commit 2dfa43a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
0 commit comments