]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Don't reset queue stats on a module reload.
authorTilghman Lesher <tilghman@meg.abyt.es>
Thu, 2 Sep 2010 05:30:16 +0000 (05:30 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Thu, 2 Sep 2010 05:30:16 +0000 (05:30 +0000)
(closes issue #17535)
 Reported by: raarts
 Patches:
       20100819__issue17535.diff.txt uploaded by tilghman (license 14)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@284631 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index 073d7ef3e20f9ef531859fc2c3a96decda697387..a221e9f554cda6a58765d7f60d1b3898014e261a 100644 (file)
@@ -7284,7 +7284,7 @@ static int load_module(void)
 
 static int reload(void)
 {
-       struct ast_flags mask = {AST_FLAGS_ALL,};
+       struct ast_flags mask = {AST_FLAGS_ALL & ~QUEUE_RESET_STATS,};
        ast_unload_realtime("queue_members");
        reload_handler(1, &mask, NULL);
        return 0;