New issue
Advanced search Search tips

Issue 683253 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: ----



Sign in to add a comment

Make the trooper queue update more quickly

Project Member Reported by zhangtiff@chromium.org, Jan 20 2017

Issue description

As a trooper, I think it is a little jarring to update an issue then have to wait a minute before the issue disappears from Sheriff-o-Matic. I think this is more jarring for troopers than for sheriffs since troopers work more directly with bugs. 

AppEngine doesn't let you run crons more often than once a minute. 

So I guess we'd have to come up with something else. We could just not cache the trooper queue, but then it takes longer to load and will probably error more often. 

One possible solution though it might come across as really janky is that since we are currently already loading trooper bugs in two parts (first part cached bugs assigned to every trooper, second part, bugs assigned to you), perhaps we could make the second slower read return the whole uncached trooper queue and replace the bugs when it finishes. 

ie: trooper loads page and immediately gets queue populated with data that might be stale/incomplete, trooper queue shows that it is still loading though, and updates with latest most up to date data after ~5 seconds. 
 
Owner: zhangtiff@chromium.org
Status: Fixed (was: Untriaged)
This will be deployed later today. 

Sign in to add a comment