From 7f90d79ef49b69124ccea50f51d858f5d90396fa Mon Sep 17 00:00:00 2001 From: jbhusson <jonah@elixxir.io> Date: Tue, 13 Sep 2022 15:28:46 -0400 Subject: [PATCH] Remove suggested value for period --- bindings/fileTransfer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/fileTransfer.go b/bindings/fileTransfer.go index a460252a9..3d5d64580 100644 --- a/bindings/fileTransfer.go +++ b/bindings/fileTransfer.go @@ -270,7 +270,7 @@ func (f *FileTransfer) CloseSend(tidBytes []byte) error { // - callback - callback that reports file reception progress // - period - Duration (in ms) to wait between progress callbacks triggering. // This value should depend on how frequently you want to receive -// updates. Suggested default: 50 +// updates, and should be tuned to your implementation. func (f *FileTransfer) RegisterSentProgressCallback(tidBytes []byte, callback FileTransferSentProgressCallback, period int) error { cb := func(completed bool, arrived, total uint16, @@ -300,7 +300,7 @@ func (f *FileTransfer) RegisterSentProgressCallback(tidBytes []byte, // - callback - callback that reports file reception progress // - period - Duration (in ms) to wait between progress callbacks triggering. // This value should depend on how frequently you want to receive -// updates. Suggested default: 50 +// updates, and should be tuned to your implementation. func (f *FileTransfer) RegisterReceivedProgressCallback(tidBytes []byte, callback FileTransferReceiveProgressCallback, period int) error { cb := func(completed bool, received, total uint16, -- GitLab