diff options
-rw-r--r-- | apps/app_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 79a085879..072024ba7 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -952,7 +952,7 @@ static struct ast_call_queue *load_realtime_queue(char *queuename) } AST_LIST_UNLOCK(&queues); - if (!q) { + if (!q || q->realtime) { /*! \note Load from realtime before taking the global qlock, to avoid blocking all queue operations while waiting for the DB. |