Skip to content

Commit

Permalink
fix: limit in-progress percent to 99.99
Browse files Browse the repository at this point in the history
  • Loading branch information
mrf345 committed Feb 1, 2025
1 parent 014859c commit 248b780
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion safelock/reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func newReader(
aead: aead,
cancel: cancel,
start: start,
end: 100.0,
end: 99.99,
},
}
}
Expand Down
2 changes: 1 addition & 1 deletion safelock/writer.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func newWriter(
pwd: pwd,
cancel: cancel,
start: start,
end: 100.0,
end: 99.99,
},
}
}
Expand Down

0 comments on commit 248b780

Please sign in to comment.