[asterisk-commits] branch 1.2 r12925 -
/branches/1.2/apps/app_queue.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Mar 14 11:28:44 MST 2006
Author: russell
Date: Tue Mar 14 12:28:39 2006
New Revision: 12925
URL: http://svn.digium.com/view/asterisk?rev=12925&view=rev
Log:
fix a problem with not loading realtime queue members by always reloading a
realtime queue from the database even if it is found in the list (issue #6680)
Modified:
branches/1.2/apps/app_queue.c
Modified: branches/1.2/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_queue.c?rev=12925&r1=12924&r2=12925&view=diff
==============================================================================
--- branches/1.2/apps/app_queue.c (original)
+++ branches/1.2/apps/app_queue.c Tue Mar 14 12:28:39 2006
@@ -941,7 +941,7 @@
}
ast_mutex_unlock(&qlock);
- 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.
More information about the asterisk-commits
mailing list