Bug 1819229 - Increase doPoll timeout dramatically
Summary: Increase doPoll timeout dramatically
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: Performance
Version: 5.0
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: 5.0-RH11
Assignee: Jeff Fearn 🐞
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-31 13:59 UTC by Fernando Reed
Modified: 2025-10-16 23:56 UTC (History)
2 users (show)

Fixed In Version: 5.0.4-rh41
Clone Of:
Environment:
Last Closed: 2020-04-06 00:15:57 UTC
Embargoed:


Attachments (Terms of Use)

Description Fernando Reed 2020-03-31 13:59:42 UTC
Description of problem:
Most requests are from jsonrpc.cgi, triggered by doPoll (defined in  data/template/extensions/BugViewPlus/template/en/default/hook/bug/edit-after_custom_fields.html.tmpl). It has a timeout of 10 seconds. I request that the timeout should be increased dramatically (to a minute or beyond, possibly more -- I'd be in favor for three minutes) since it touches the database and currently the database is our pain point.

We have a few million queries being done every 12 hours or so.

Version-Release number of selected component (if applicable):
5.0.4-39

How reproducible:
All the time

Steps to Reproduce:
1.Open bug
2.Leave window/tab open
3.Wait 10 seconds

Comment 2 Meiying Li 2020-04-02 02:30:09 UTC
Test environment:
https://bz-web.host.qe.eng.pek2.redhat.com

Steps to verify:
1. Open one bug in qe env
2. Leave window/tab open
Note for qe: Ctrl+Shift+C, choose Network Tab, and check jsonrpc.cgi POST
3. Wait 60 seconds
Result: there is a new POST after 60 seconds
/jsonrpc.cgi?tm=1585794206134

Test Result: PASS

Comment 4 Jeff Fearn 🐞 2020-04-06 00:15:57 UTC
This change is now live. If there are any issues, do not reopen this bug. Instead, you should create a new bug and reference this bug.


Note You need to log in before you can comment on or make changes to this bug.