Closed Bug 463967 Opened 17 years ago Closed 17 years ago

[BUGZILLA] Don't fetch CC list or attachment data when getting bug info

Categories

(Webtools Graveyard :: Mozbot, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: wolf, Assigned: wolf)

Details

(Keywords: perf)

Attachments

(1 file)

The bugzilla module should exclude the CC list, and comments from the retrieved XML by using the excludefield param, so the retrieved document is smaller, faster to fetch, and puts less load on the remote server. For long bugs, like bug 18574, the request actually times out and nothing is returned.
Comments are already excluded, but attachmentdata and the CC list aren't, and those can get quite large for active bugs.. Also considered excluding flags and attachments themselves, but the gain for the former was minimal and if/when bug 463451 is fixed, attachments might be needed again anyway, and if not, it can be removed in a followup, if it matters (its a small speed increase at best.)
Checking in BotModules/Bugzilla.bm; /cvsroot/mozilla/webtools/mozbot/BotModules/Bugzilla.bm,v <-- Bugzilla.bm new revision: 2.24; previous revision: 2.23 done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Summary: [BUGZILLA] Don't fetch CC list or comments when getting bug info → [BUGZILLA] Don't fetch CC list or attachment data when getting bug info
Verified Fixed.
Status: RESOLVED → VERIFIED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: