summaryrefslogtreecommitdiff
path: root/ui-snapshot.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* ui-snapshot: whitespace/formatting cleanupLars Hjemli2007-07-231-24/+24
* cgit_print_snapshot_links: use url to specify snapshot nameLars Hjemli2007-07-231-14/+24
* allow selective enabling of snapshotsMichael Krelin2007-07-211-7/+36
* shorten snapshot names to repo basenameMichael Krelin2007-07-211-1/+1
* added snapshot filename to the linkMichael Krelin2007-07-211-1/+1
* add plain uncompressed tar snapshort formatMichael Krelin2007-07-211-1/+2
* introduced .tar.bz2 snapshotsMichael Krelin2007-07-211-31/+42
* compress .tar.gz using gzip as a filterMichael Krelin2007-07-201-1/+37
* add support for snapshot tarballsMichael Krelin2007-07-181-28/+49
* Add support for snapshotsLars Hjemli2007-02-081-0/+47
ach 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>