Brad Whitaker (whitaker) wrote in changelog,
Brad Whitaker
whitaker
changelog

livejournal

Module Name: livejournal
Committed By: whitaker
Date: Fri May 20 21:40:51 UTC 2005

Modified Files:
---------------
livejournal/bin/maint: clean_caches.pl
livejournal/bin/upgrading: update-db-general.pl
livejournal/cgi-bin: ljlib.pl ljprotocol.pl

Log Message:
------------
Add a mechanism to count generic actions: clustered and global components

-- recentactions clustered table where we log a bunch of actions that have
happened.

-- actionhistory global table which logs results of cluster sweeps by cron

-- addition to clean_caches which sweeps over clusters and summarizes
results in global actionhistory table

-- new API in ljlib: LJ::note_recent_action($cid, 'action')

-- call LJ::note_recent_action when a user makes any kind of post via
ljprotocol.pl. all post actions go through this.


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 livejournal/bin/maint/clean_caches.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/maint/clean_caches.pl.diff?r1=1.18&r2=1.19
cvs rdiff -r1.183 -r1.184 livejournal/bin/upgrading/update-db-general.pl
http://cvs.livejournal.org/browse.cgi/livejournal/bin/upgrading/update-db-general.pl.diff?r1=1.183&r2=1.184
cvs rdiff -r1.837 -r1.838 livejournal/cgi-bin/ljlib.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljlib.pl.diff?r1=1.837&r2=1.838
cvs rdiff -r1.280 -r1.281 livejournal/cgi-bin/ljprotocol.pl
http://cvs.livejournal.org/browse.cgi/livejournal/cgi-bin/ljprotocol.pl.diff?r1=1.280&r2=1.281
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments