• Matthew Halpern's avatar
    swarm/storage: fix loop bound for database cleanup (#19085) · fbedf62f
    Matthew Halpern authored
    The current loop continuation condition is always true as a uint8
    is always being checked whether it is less than 255 (its maximum
    value). Since the loop starts with the value 1, the loop termination
    can be guarranteed to exit once the value overflows to 0.
    fbedf62f
Name
Last commit
Last update
..
api Loading commit data...
bmt Loading commit data...
chunk Loading commit data...
dev Loading commit data...
docker Loading commit data...
fuse Loading commit data...
log Loading commit data...
metrics Loading commit data...
network Loading commit data...
pot Loading commit data...
pss Loading commit data...
sctx Loading commit data...
services/swap Loading commit data...
shed Loading commit data...
spancontext Loading commit data...
state Loading commit data...
storage Loading commit data...
swap Loading commit data...
testutil Loading commit data...
tracing Loading commit data...
version Loading commit data...
AUTHORS Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
network_test.go Loading commit data...
swarm.go Loading commit data...
swarm_test.go Loading commit data...