Skip to content
Snippets Groups Projects
Commit 006cd61d authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Fix behaviour of wait-cycles between transfers.

Refers to #9
parent aaad6192
No related branches found
No related tags found
No related merge requests found
......@@ -584,6 +584,9 @@ namespace ATxService
// check the queueing location and dispatch new transfers:
ProcessQueuedDirectories();
// decrease the new-transfer-wait-counter:
_waitCyclesBeforeNextTx--;
}
/// <summary>
......@@ -618,7 +621,6 @@ namespace ATxService
if (_waitCyclesBeforeNextTx > 0) {
Log.Debug("Waiting {0} more cycles before starting the next transfer...",
_waitCyclesBeforeNextTx);
_waitCyclesBeforeNextTx--;
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment