diff options
author | Eric Leblond <eric@regit.org> | 2013-04-20 12:44:17 +0200 |
---|---|---|
committer | Eric Leblond <eric@regit.org> | 2013-05-21 19:57:02 +0200 |
commit | bc817c2077ddfb37041a20cf7c71bc71b4d56003 (patch) | |
tree | d840879a6649955ab00ec76bd880c7920f69c651 /Rules.make.in | |
parent | 1d84cdeaa56fe003c4beb0452c8bc476ecfd75a8 (diff) |
db: add ring buffer for DB query
This patch adds an optional ring buffer option which modify
the way database queries are made. The main thread is only handling
kernel message reading and query formatting. The SQL request is made
in a separate dedicated thread.
The idea is to try to avoid buffer overrun by minimizing the time
requested to treat kernel message. Doing synchronous SQL request, as
it was made before was causing a delay which could cause some messages
to be lost in case of burst from kernel side.
Diffstat (limited to 'Rules.make.in')
0 files changed, 0 insertions, 0 deletions