Skip to content

Improved performance when log table size limit is reached

Compare
Choose a tag to compare
@BenceSzalai BenceSzalai released this 29 Nov 15:22
· 20 commits to master since this release

Improved

  • The logging table size limiter caused slow logging once the limit was reached, due to the overhead of truncating the table after every row written. This is now fixed by doing the truncations in batches.

Changed

  • The set_max_table_rows() method is deprecated, use conf_table_size_limiter() instead.
  • The maybe_truncate() method was not intended to be used outside of the class, so it is not a public method anymore.