removed blocking queue that somehow appeared again
- Removed blolcking queue from Visualiser Input that had appeared miraculously #story[881]
This commit is contained in:
@@ -22,9 +22,6 @@ import static seng302.Networking.Utils.ByteConverter.bytesToShort;
|
|||||||
*/
|
*/
|
||||||
public class VisualiserInput implements Runnable {
|
public class VisualiserInput implements Runnable {
|
||||||
|
|
||||||
///A queue that contains messages that have been received, and need to be handled.
|
|
||||||
private final ArrayBlockingQueue<AC35Data> messagesReceivedQueue = new ArrayBlockingQueue<>(1000000);//We have room for 1,000,000. Is this much capacity actually needed?
|
|
||||||
|
|
||||||
///Timestamp of the last heartbeat.
|
///Timestamp of the last heartbeat.
|
||||||
private long lastHeartbeatTime = -1;
|
private long lastHeartbeatTime = -1;
|
||||||
///Sequence number of the last heartbeat.
|
///Sequence number of the last heartbeat.
|
||||||
|
|||||||
Reference in New Issue
Block a user