Re: [mb-users] Edit Expiration Times (MBS-2614, MBS-4594)

Calvin Walton <[email protected]>
Newsgroups gmane.comp.audio.musicbrainz.user
Message-ID <1345040758.22142.20.camel@cwalton-XPS-8300>
On Tue, 2012-08-14 at 21:29 -0500, Brandon LeBlanc wrote:
> Hey Gang!
> 
> So, I'm working on MBS-2614 [1] and MBS-4594 [2] and I have a question
> for the users. The gist of the issues is that when edits expire, be it
> by the expiration date or the unanimous rule, they aren't closed and
> applied immediately. Edits remain open for voting until when they are
> closed at the top of the hour by ModBot, provided there are no bugs in
> the server preventing their application. Edits that have expired but
> are still open display "Already expired," which is confusing for some
> who are unfamiliar with how our edit system works.
> 
> There are four proposed solutions to these tickets:
> 1) Make edits close and apply as soon as they expire.

This would be the ideal option, but I'm actually a little curious about
how it'll be implemented (maybe this is more appropriate for the dev
list, but...)

In order to expire edits, you need some sort of backend process that
notices when the edit expires, and does the required application steps.
This process is currently called "ModBot" and runs once every hour - and
is a fairly heavy job when it does run. Do you plan to have some sort of
reduced-functionality ModBot-like process that runs more often? Even so,
I doubt you could get the delay down below a couple minutes or so.

I suppose the other idea might be to trick people - if someone views a
resource that has a pending expired edit, you could apply the edit
immediately in the web server process before rendering the page.

(The other case, making an edit apply immediately upon receiving e.g. a
3rd unanimous yes vote, would be much easier to handle, this could just
be applied when the 3rd vote is received in the same way as an
autoeditor approval applies immediately.)

-- 
Calvin Walton <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.