MessageManager

- Try using a `SmartPolicy`-based queue
This commit is contained in:
Tristan B. Velloza Kildaire 2023-11-22 14:31:56 +02:00
parent 57b4f930b0
commit 99d08ff899
1 changed files with 4 additions and 2 deletions

View File

@ -232,8 +232,10 @@ public class MessageManager
private this()
{
// Initialize the queues (send+receive)
this.sendQueue = new Queue();
this.receiveQueue = new Queue();
// this.sendQueue = new Queue();
// this.receiveQueue = new Queue();
this.sendQueue = Queue.makeSmart();
this.receiveQueue = Queue.makeSmart();
}
public void sendq(Message message)