fix(connection): Make bytes up and down a signed 64-bit integer

This fixes a theoretical issue with database interaction. Because the
fields in the database are signed 64-bit integers, it's theoretically
possible to overflow them if we're using unsigned 64-bit integers in the
application code.
This commit is contained in:
Hugo Vieira committed 2022-10-26 17:44:28 +01:00
1 parent c81398cbf3
commit d206635d74
17 files changed
+57 -57

No files matched your search

+2 -2
View File
@@ -5070,12 +5070,12 @@
},
"bytes_up": {
"type": "string",
"format": "uint64",
"format": "int64",
"title": "bytes_up of the connection"
},
"bytes_down": {
"type": "string",
"format": "uint64",
"format": "int64",
"title": "bytes_down of the connection"
},
"closed_reason": {