Projects tigase _server tigase-muc Issues #37
components should set NullHistoryProvider by default (#37)
Closed
tom quas opened 1 decade ago

actual: when run as an external component for an SM which has clustering turned on, MUC sets tigase.muc.JDBCRepository as default for history if muc/history-db has not been set in the properties. this comes with a huge performance penalty.

expected: by default, MUC should set a NullHistoryProvider which does nothing. users who need MUC history should enable it.

note: assigned criticality critical because my MUC component processes started putting lots of load on my machines

Bartosz Małkowski commented 1 decade ago

MUC needs history provider! In other case MUC is not able to send few latest messages to new occupant!

Edit your init.properties and use this instead:

muc/history-db=memory
tom quas commented 1 decade ago

hmm, i don't want any history at all. plus, with the loss of the muc-max-history-size patch of ticket #161 there's currently no way to turn it off – no, it's no longer in the code. i'm back where i've been over a year ago.

Bartosz Małkowski commented 7 years ago

Option to disable history:

muc/history-db=none
issue 1 of 1
Type
New Feature
Priority
Minor
Assignee
RedmineID
872
Version
tigase-muc-2.2.0
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/tigase-muc#37
Please wait...
Page is in error, reload to recover