Skip to content

Commit

Permalink
Try just one at at time
Browse files Browse the repository at this point in the history
  • Loading branch information
rowleya committed Nov 30, 2023
1 parent 08db657 commit a8b299f
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,13 @@
* Write to memory on SpiNNaker via multicast (data in only).
*/
class WriteMemoryByMulticastProcess extends TxrxProcess {

/** Timeout for a write request; longer as the write can take some time. */
private static final int TIMEOUT = 10000;

/** The number of simultaneous messages that can be in progress. */
private static final int N_CHANNELS = 1;

/**
* @param connectionSelector
* How to select how to communicate.
Expand All @@ -49,7 +53,8 @@ class WriteMemoryByMulticastProcess extends TxrxProcess {
WriteMemoryByMulticastProcess(
ConnectionSelector<? extends SCPConnection> connectionSelector,
RetryTracker retryTracker) {
super(connectionSelector, retryTracker);
super(connectionSelector, SCP_RETRIES, TIMEOUT, N_CHANNELS, N_CHANNELS,
retryTracker);
}

/**
Expand Down

0 comments on commit a8b299f

Please sign in to comment.