mirror of
https://github.com/overte-org/overte.git
synced 2025-08-11 03:52:55 +02:00
add some queue size debugging to assignment-server
This commit is contained in:
parent
21562abfb1
commit
bb6185ca36
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,7 @@ int main(int argc, const char* argv[]) {
|
||||||
Assignment requestAssignment(senderData, receivedBytes);
|
Assignment requestAssignment(senderData, receivedBytes);
|
||||||
|
|
||||||
qDebug() << "Received request for assignment:" << requestAssignment;
|
qDebug() << "Received request for assignment:" << requestAssignment;
|
||||||
|
qDebug() << "Current queue size is" << assignmentQueue.size();
|
||||||
|
|
||||||
// make sure there are assignments in the queue at all
|
// make sure there are assignments in the queue at all
|
||||||
if (assignmentQueue.size() > 0) {
|
if (assignmentQueue.size() > 0) {
|
||||||
|
@ -72,6 +73,7 @@ int main(int argc, const char* argv[]) {
|
||||||
Assignment createdAssignment(senderData, receivedBytes);
|
Assignment createdAssignment(senderData, receivedBytes);
|
||||||
|
|
||||||
qDebug() << "Received a created assignment:" << createdAssignment;
|
qDebug() << "Received a created assignment:" << createdAssignment;
|
||||||
|
qDebug() << "Current queue size is" << assignmentQueue.size();
|
||||||
|
|
||||||
// assignment server is on a public server
|
// assignment server is on a public server
|
||||||
// assume that the address we now have for the sender is the public address/port
|
// assume that the address we now have for the sender is the public address/port
|
||||||
|
|
Loading…
Reference in a new issue