diff --git a/apps/app_queue.c b/apps/app_queue.c index 12f09ec3e3356714828c263dabb86df5a1390806..6bc2e67161bdbe8690778ed87c2f931128a64a4f 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -8145,14 +8145,15 @@ check_turns: break; } - /* If using dynamic realtime members, we should regenerate the member list for this queue */ - update_realtime_members(qe.parent); /* OK, we didn't get anybody; wait for 'retry' seconds; may get a digit to exit with */ res = wait_a_bit(&qe); if (res) { goto stop; } + /* If using dynamic realtime members, we should regenerate the member list for this queue */ + update_realtime_members(qe.parent); + /* Since this is a priority queue and * it is not sure that we are still at the head * of the queue, go and check for our turn again.