aboutsummaryrefslogtreecommitdiff
path: root/pkg/config (follow)
Commit message (Expand)AuthorAgeFilesLines
* Explicit version infoRené 'Necoro' Neumann2020-05-031-10/+0
* Option "reupload-if-updated"René 'Necoro' Neumann2020-05-031-0/+1
* RestructureRené 'Necoro' Neumann2020-05-021-4/+4
* WIP: Message-IdsRené 'Necoro' Neumann2020-05-021-2/+3
* Option 'body'René 'Necoro' Neumann2020-05-022-0/+37
* Embedding images in mailRené 'Necoro' Neumann2020-05-021-12/+14
* Config option 'max-failures'René 'Necoro' Neumann2020-05-011-0/+2
* Reintroduce yaml-internal `feed`René 'Necoro' Neumann2020-05-013-33/+40
* Print warning on deprecated options. Handle "disable-ssl-verification"René 'Necoro' Neumann2020-05-012-3/+62
* Print warning, when unknown global option. Also support specifying the new 'o...René 'Necoro' Neumann2020-05-011-0/+23
* YAML Parsing: Enable 'KnownFields'René 'Necoro' Neumann2020-05-012-0/+11
* Yaml: Pass `Reader` around instead of []byteRené 'Necoro' Neumann2020-05-013-11/+12
* Remove pointers from feed options. Detect unknown fields in feed and group op...René 'Necoro' Neumann2020-05-014-122/+170
* Add tls-no-verify option to disallow certificate checks.René 'Necoro' Neumann2020-04-271-0/+5
* Handle `target: null` the same as `target: ""`.René 'Necoro' Neumann2020-04-262-48/+80
* Option `always-new`René 'Necoro' Neumann2020-04-261-0/+5
* Options: "disable" and "ignore-hash"René 'Necoro' Neumann2020-04-261-0/+10
* Push global feed configuration to feedsRené 'Necoro' Neumann2020-04-254-16/+34
* Remove Feeds.StringRené 'Necoro' Neumann2020-04-251-26/+0
* Larger restructuringRené 'Necoro' Neumann2020-04-254-0/+579
.git/commit/html.c?h=master&id=25105d7ecaba474d4b7c364ebb586aac3dfc5abb&follow=1'>Add 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>