1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-09-02 23:20:38 +02:00

fix compilation

This commit is contained in:
chrislu 2021-12-05 17:24:13 -08:00
parent c7c60d1f8a
commit df9a72b87f

View file

@ -29,6 +29,8 @@ public class SeaweedWrite {
final byte[] bytes,
final long bytesOffset, final long bytesLength,
final String path) throws IOException {
IOException lastException = null;
for (long waitTime = 1000L; waitTime < 10 * 1000; waitTime += waitTime / 2) {
try {
FilerProto.FileChunk.Builder chunkBuilder = writeChunk(