diff options
author | Simon Rettberg | 2024-02-07 16:18:30 +0100 |
---|---|---|
committer | Simon Rettberg | 2024-02-07 16:18:30 +0100 |
commit | f357d06245784d7f3589a6dd220b995962c86b24 (patch) | |
tree | 75d6814a6ee45e772ad22ced5ffe53d5efbcb2a7 | |
parent | Thrift: Avoid creating TWrapper for null-client (diff) | |
download | master-sync-shared-f357d06245784d7f3589a6dd220b995962c86b24.tar.gz master-sync-shared-f357d06245784d7f3589a6dd220b995962c86b24.tar.xz master-sync-shared-f357d06245784d7f3589a6dd220b995962c86b24.zip |
[filetransfer] Set state to WORKING when using local copying
-rw-r--r-- | src/main/java/org/openslx/filetransfer/util/IncomingTransferBase.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/org/openslx/filetransfer/util/IncomingTransferBase.java b/src/main/java/org/openslx/filetransfer/util/IncomingTransferBase.java index 0f78680..8e68dc2 100644 --- a/src/main/java/org/openslx/filetransfer/util/IncomingTransferBase.java +++ b/src/main/java/org/openslx/filetransfer/util/IncomingTransferBase.java @@ -289,6 +289,9 @@ public abstract class IncomingTransferBase extends AbstractTransfer implements H if ( sources != null && !sources.isEmpty() ) { chunks.markLocalCopyCandidates( sources ); } + if ( state == TransferState.IDLE ) { + state = TransferState.WORKING; + } localCopyManager.trigger(); } |