Commit bcac028e authored by Rafael Monnerat's avatar Rafael Monnerat

Before exit, verbose activity failures.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38812 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 450ea6fc
......@@ -55,6 +55,10 @@ do
TIME="`expr $TIME + $INTERVAL`"
if [ $TIME -gt $TIMEOUT ]
then
echo "Messages"
echo "SELECT path, processing_node, method_id AS message_count FROM message;" | $MYSQL_BIN $MYSQL_OPT
echo "Messages Queue"
echo "SELECT path, processing_node, method_id AS message_count FROM message_queue;" | $MYSQL_BIN $MYSQL_OPT
echo "Timeout"
exit 1
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment