This is a quick fix for people who are getting timeouts when selecting vocabularies in admin settings. Whenever you designate a new free tagging vocabulary, community_tags_rehash is called, and this patch improves the insertion performance significantly (30 times in my case).

CommentFileSizeAuthor
community_tagsInitialImportFix.patch2.4 KBmehmeta

Comments

bowenzbiz’s picture

subscribe.

chaps2’s picture

Version: 6.x-1.x-dev » 6.x-1.0-beta4
Status: Needs review » Fixed

The rehash function has been removed from 6.x-1.0-beta4 - it was too aggressive in deleting tags without notice. It has been replaced with a combination of more thorough handling of various events - e.g. user delete, term delete, node delete, and the ability to rebuild or delete tags via the configuration page. The rebuild operation is only available when terms and tags are out of sync which should only happen if configuration is changed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.