Files
skopeo/integration
Colin Walters f7dc084799 proxy: Change the imgid to uint64
In PR review for a different issue, the question of what happens
if we hit overflow for the imageid serial was hit.  This feels
pretty unlikely; if I did the math right, it'd require opening
an average of 136 images per second to overflow it in a year.
Nevertheless, in practice what we're sending on the wire is just a JSON
number, and if we extend this to the "max safe JSON number" of 2^53,
it'd take 285,616,414 images per second to overflow in a year, going
from implausible to probably impossible.

With a bit more work of course, we could make this a sparse mapping
and reuse freed numbers, but eh.

Signed-off-by: Colin Walters <walters@verbum.org>
2023-07-13 00:24:55 +02:00
..
2023-02-23 16:08:45 +01:00
2023-02-23 16:08:45 +01:00
2019-10-22 11:05:42 -04:00
2023-02-03 17:48:16 +01:00
2023-02-23 16:08:45 +01:00
2023-02-23 16:08:45 +01:00
2023-02-27 18:15:47 +01:00