author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Wed, 4 Aug 2010 17:31:44 +0000 (19:31 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Wed, 4 Aug 2010 17:31:44 +0000 (19:31 +0200) | ||
commit | adc387a3aad391700eb1bae48f1d95a804ea4e8a | |
tree | 287e0548064b7a4256dcdb2f710b54719cfd06d7 | tree | snapshot |
parent | bc016773bc8aac7604bdf11bc44077067836104e | commit | diff |
amqp plugin: Implement persistent connection handling.
A connection is now opened on the first value to be written and is kept
open for as long as possible. This is hopefully much more efficient than
opening a new connection for each value.
The value_list_t is now converted to JSON first, before locking the
global connection object, in order to hold the lock for the least
possible time.
A connection is now opened on the first value to be written and is kept
open for as long as possible. This is hopefully much more efficient than
opening a new connection for each value.
The value_list_t is now converted to JSON first, before locking the
global connection object, in order to hold the lock for the least
possible time.
src/amqp.c | diff | blob | history |