XoopsX / legacy

XOOPS Cube Legacy base repository
15 stars 11 forks source link

[pilot] Added the switch "XOOPS_LOGGER_ADDQUERY_DISABLED" to reduce m… #79

Closed kujiy closed 8 years ago

kujiy commented 8 years ago

…emory consumption.

Sending PR again.

I was annoying at XoopsLogger used too much memory when I ran a huge batch.

You can stop logging too many sql queries when set XOOPS_LOGGER_ADDQUERY_DISABLED=true.

Referred to http://qiita.com/RyujiAMANO/items/e529b955eeac99796023

Thank you.

nao-pon commented 8 years ago

@kujiy :+1: Please make PR to xoopscube/legacy:master. I'll marge it.

Thanks!

kujiy commented 8 years ago

@nao-pon I sent the new PR. Thank you for your cooperation.

https://github.com/xoopscube/legacy/pull/119