Slow quote folding

Dear all,
we have here some users who have such a habit to keep all the
conversation history in e-mails. Some of them have also stupid mail
clients which doubles the number of spaces. This results in looong mails
and therefore long ticket history. So some individuals use, for better
information overview, quote folding.
This works quite well, but when the stuff that is to be quoted in ticket
is too long (or too many of them?), the quoting procedure takes very
long time. I’ve got here a ticket with 24 replies, each with the full
mail history, and showing the ticket with folding turned on takes about
8 minutes. The ticket history during that time shows only "Loading…"
notice.

When I searched in the code to see how this folding is done, it gave me
an impression that it uses some general method which affects the whole
RT. So I am little bit scare to give it some tuning :slight_smile: Could you someone
please either to confirm a bug, or (if it is a feature) explain me the
mechanism how this should work and what to tune/rewrite?

Thank you, Petr

Petr Hanousek e-mail: petr.hanousek@cesnet.cz
MetaCentrum User Support phone: +420 950 072 112
CESNET z.s.p.o. mobile: +420 606 665 139
location: Zikova 13a, Praha room: 32b
Czech Republic

Hi,
we have migrated to another server with newer Debian and this issue
suddenly dissapeared. So I wanted just let you know. Thanks to Jeffrey
Pilant for interest and morale support :slight_smile:
PetrOn 1.6.2016 11:04, Petr Hanousek wrote:

Dear all,
we have here some users who have such a habit to keep all the
conversation history in e-mails. Some of them have also stupid mail
clients which doubles the number of spaces. This results in looong mails
and therefore long ticket history. So some individuals use, for better
information overview, quote folding.
This works quite well, but when the stuff that is to be quoted in ticket
is too long (or too many of them?), the quoting procedure takes very
long time. I’ve got here a ticket with 24 replies, each with the full
mail history, and showing the ticket with folding turned on takes about
8 minutes. The ticket history during that time shows only "Loading…"
notice.

When I searched in the code to see how this folding is done, it gave me
an impression that it uses some general method which affects the whole
RT. So I am little bit scare to give it some tuning :slight_smile: Could you someone
please either to confirm a bug, or (if it is a feature) explain me the
mechanism how this should work and what to tune/rewrite?

Thank you, Petr

Petr Hanousek e-mail: petr.hanousek@cesnet.cz
MetaCentrum User Support phone: +420 950 072 112
CESNET z.s.p.o. mobile: +420 606 665 139
location: Zikova 13a, Praha room: 32b
Czech Republic