mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 13:43:49 +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);
|
||||
|
||||
qDebug() << "Received request for assignment:" << requestAssignment;
|
||||
qDebug() << "Current queue size is" << assignmentQueue.size();
|
||||
|
||||
// make sure there are assignments in the queue at all
|
||||
if (assignmentQueue.size() > 0) {
|
||||
|
@ -72,6 +73,7 @@ int main(int argc, const char* argv[]) {
|
|||
Assignment createdAssignment(senderData, receivedBytes);
|
||||
|
||||
qDebug() << "Received a created assignment:" << createdAssignment;
|
||||
qDebug() << "Current queue size is" << assignmentQueue.size();
|
||||
|
||||
// assignment server is on a public server
|
||||
// assume that the address we now have for the sender is the public address/port
|
||||
|
|
Loading…
Reference in a new issue