Closed Bug 490638 Opened 13 years ago Closed 13 years ago

Live Chat CSAT polls should use Fastpath chat ID to improve performance

Categories

(support.mozilla.org Graveyard :: Chat, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: zzxc, Assigned: zzxc)

References

Details

Attachments

(1 file)

Live Chat CSAT polls currently use the webchat "client ID", which is stored in each Fastpath session by the 'referer' metadata object.  Live Chat CSAT queries thus take up to an hour to execute, slowing down metrics generation.

The CSAT links need to instead use fastpath chatId, which will improve performance and avoid querying the metadata table.  CSAT queries will need to change to query data after this goes on production.
Attached patch Make the changeSplinter Review
This changes the behavior to use Fastpath ID's instead of Webchat ID's in CSAT links.  It also fixes a javascript error that occurs when there is an error getting the feedback link.

All live chat CSAT queries will need to be changed as of the date this goes on production.  (A safe behavior would be to simply check for either ID in the query if a range from before and after this patch is involved)
Attachment #378246 - Flags: review?(laura)
Attachment #378246 - Flags: review?(laura) → review+
Checked in r26430
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Blocks: 508035
Product: support.mozilla.org → support.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.