summaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-06-01 17:36:11 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-06-01 17:36:11 +0200
commit1498c2701301fadc6f902208068fc959c8673322 (patch)
tree8deefafa455445d8c5cc4470637bb511bd79069b /action.c
parent4cd16cbb2882e249b79a9d32e148663134a85fbe (diff)
downloadrsyslog-1498c2701301fadc6f902208068fc959c8673322.tar.gz
rsyslog-1498c2701301fadc6f902208068fc959c8673322.tar.xz
rsyslog-1498c2701301fadc6f902208068fc959c8673322.zip
change action queue default enqueue timeout from 2000ms to 50ms
Diffstat (limited to 'action.c')
-rw-r--r--action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/action.c b/action.c
index bcefe9e9..652c0259 100644
--- a/action.c
+++ b/action.c
@@ -262,7 +262,7 @@ actionResetQueueParams(void)
cs.bActionQSyncQeueFiles = 0;
cs.iActionQtoQShutdown = 0; /* queue shutdown */
cs.iActionQtoActShutdown = 1000; /* action shutdown (in phase 2) */
- cs.iActionQtoEnq = 2000; /* timeout for queue enque */
+ cs.iActionQtoEnq = 50; /* timeout for queue enque */
cs.iActionQtoWrkShutdown = 60000; /* timeout for worker thread shutdown */
cs.iActionQWrkMinMsgs = 100; /* minimum messages per worker needed to start a new one */
cs.bActionQSaveOnShutdown = 1; /* save queue on shutdown (when DA enabled)? */