diff --git a/src/file-box-helper/uuidify-file-box-grpc.ts b/src/file-box-helper/uuidify-file-box-grpc.ts index cb0da221..b295eab5 100644 --- a/src/file-box-helper/uuidify-file-box-grpc.ts +++ b/src/file-box-helper/uuidify-file-box-grpc.ts @@ -56,11 +56,11 @@ const uuidRegisterGrpc: (grpcClient: () => pbPuppet.PuppetClient) => UuidSaver = const initRequest = new pbPuppet.UploadRequest() request.write(initRequest) - setImmediate(() => { + setTimeout(() => { stream .pipe(chunkEncoder(pbPuppet.UploadRequest)) .pipe(request) - }) + }, 1000) })