summaryrefslogtreecommitdiffstats
path: root/src/serverconfig.h
Commit message (Collapse)AuthorAgeFilesLines
* [SERVER] Get rid of alt-servers thread, per-uplink rtt historySimon Rettberg2019-08-221-4/+6
| | | | | | | | | | Alt-Server checks are now run using the threadpool, so we don't need a queue and dedicated thread anymore. The rtt history is now kept per uplink, so many uplinks won't overwhelm the history, making its time window very short. Also the fail counter is now split up; a global one for when the server actually isn't reachable, a local (per-uplink) one for when the server is reachable but doesn't serve the requested image.
* [SERVER] Don't keep an uplink connection established foreverSimon Rettberg2019-01-311-4/+8
| | | | | | In case we don't use background replication a connection to an uplink server can potentially stay around forever. This in turn would prevent the uplink server from freeing the image as it appears to be in use.
* [SERVER] Fix use of wrong constant; increase queue len for hash checkerSimon Rettberg2018-07-101-1/+1
|
* [SERVER] Add multiple config options for limiting stuffSimon Rettberg2017-11-081-1/+0Star
| | | | | maxClients, maxImages, maxPayload, maxReplicationSize Refs #3231
* [SERVER] altservers: Tweak, cleanup, refactor, renameSimon Rettberg2017-11-081-5/+8
|
* [SERVER] Try to connect to different server if proxy cycle is detectedSimon Rettberg2017-10-171-0/+1
|
* [SERVER] Implement closeUnusedFd config optionSimon Rettberg2017-09-021-0/+3
| | | | | | | This will close the readFd of images that have no active clients after some idle period (1 hour currently). Prevents deleted images from taking up space until the server is shut down.
* [*] Continue splitting #defines to clientconfig.h etc.Simon Rettberg2017-09-021-0/+46