summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
authorTomasz Osiński <osinskit@gmail.com>2009-08-12 12:51:03 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-08-12 12:51:03 +0200
commit73341da5ac1b1acf2632ea62f95aab7e3e86b965 (patch)
tree86301639c6f9a1d4d37c438151b9f855453f4cf2 /portato
parentae4284391becbd0570187a0c10a3420fabe72f13 (diff)
downloadportato-73341da5ac1b1acf2632ea62f95aab7e3e86b965.tar.gz
portato-73341da5ac1b1acf2632ea62f95aab7e3e86b965.tar.bz2
portato-73341da5ac1b1acf2632ea62f95aab7e3e86b965.zip
Updated polish translation
Diffstat (limited to 'portato')
0 files changed, 0 insertions, 0 deletions
8679d1d2bd46e8cddf7da2ce4178e1d676&follow=1'>Add version identifier in generated filesLars Hjemli2-9/+14 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-10Add license file and copyright noticesLars Hjemli5-0/+372 Signed-off-by: Lars Hjemli <hjemli@gmail.com> 2006-12-10Add caching infrastructureLars Hjemli9-28/+353 This enables internal caching of page output. Page requests are split into four groups: 1) repo listing (front page) 2) repo summary 3) repo pages w/symbolic references in query string 4) repo pages w/constant sha1's in query string Each group has a TTL specified in minutes. When a page is requested, a cached filename is stat(2)'ed and st_mtime is compared to time(2). If TTL has expired (or the file didn't exist), the cached file is regenerated. When generating a cached file, locking is used to avoid parallell processing of the request. If multiple processes tries to aquire the same lock, the ones who fail to get the lock serves the (expired) cached file. If the cached file don't exist, the process instead calls sched_yield(2) before restarting the request processing. Signed-off-by: Lars Hjemli <hjemli@gmail.com>