chiark / gitweb /
journal: Leave server_dispatch_message early when Storage is none
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>
Thu, 18 Jul 2013 12:45:12 +0000 (14:45 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 18 Jul 2013 17:55:11 +0000 (19:55 +0200)
commit2f5df74a5ec135ab2baebf26af6f088e5b4b8205
tree0ddcc1785a5999a8decffc9b9b195d69f52c148d
parent9b9b3d36b8ffe5b41c1455bffd44a9d11efc8aee
journal: Leave server_dispatch_message early when Storage is none

When using Storage=none there is no point in collecting all the
information just to throw them away. After this change journald
consumes a lot less CPU time when only forwarding messages.
src/journal/journald-server.c