Better url_alias behavior in crawler

Froggie - October 25, 2009 - 09:18
Project:Boost
Version:6.x-1.x-dev
Component:Cron Crawler
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

It would be nice to enable the Admin to pause the crawler temporarily during heavy traffic or high CPU/RAM usage and the ability to resume crawling when required.
Thanks!

#1

mikeytown2 - October 25, 2009 - 09:22

Added it to the roadmap.

#2

Froggie - October 25, 2009 - 09:22

Thanks!

#3

mikeytown2 - November 6, 2009 - 23:07
Title:Allow Admin to pause crawler during high CPU or RAM usage.» Better url_alias behavior in crawler

I think the better option is have the url_alias grab be smarter. Check against the database to see if that entry exists in the boost cache table. If it's not in the table then add it to the url crawler. This would make that setting be smarter and would make the stop crawler setting not as destructive on large runs of the url_alias. Doing a bulk insert for the sql should make it run faster as well.

#4

mikeytown2 - November 8, 2009 - 04:43
Status:active» needs review

Works how it should, just not how I envisioned the first time. This way is a lot faster then before. I need to check the finer points of the SQL before this gets committed.

AttachmentSize
boost-613926.patch 8.97 KB

#5

mikeytown2 - November 8, 2009 - 05:12

this patch actually works

AttachmentSize
boost-613926.1.patch 9.17 KB

#6

mikeytown2 - November 8, 2009 - 07:29
Status:needs review» fixed

committed

#7

Froggie - November 8, 2009 - 13:57

@Mikeytown: Thanks!

#8

System Message - November 22, 2009 - 14:00
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.