Ticket #142 (closed enhancement: fixed)

Opened 7 years ago

Last modified 6 years ago

Relax locking of database

Reported by: smith@… Owned by: smartp@…
Priority: major Milestone: v1.2.0
Component: Raptor MUA Version:
Keywords: Cc:

Description

For dashboard stats

Change History

comment:1 Changed 6 years ago by smartp@…

  • Status changed from new to closed
  • Resolution set to fixed

Locking has been improved in the following ways:

  1. System level stats (background homepage stats) will never lock User level stats. Hence computing the background stats should never affect construction of user level stats.
  2. If two User level stats are updated at the same time, the blocked update will wait 10 seconds in trying to acquire the lock before it fails back to the UI. Hence, some level of 'wait until the other update has finished' has been implemented.
Note: See TracTickets for help on using tickets.