Requests are now handled with coroutines
This commit is contained in:
parent
c7b60faf18
commit
de9d6a8a7c
2 changed files with 35 additions and 33 deletions
|
|
@ -16,7 +16,7 @@ return {
|
|||
-- Default lifetime of a paste in the web interface
|
||||
defaultLifetime = 86400, -- 1 day
|
||||
-- Maximal size of a request/paste
|
||||
requestMaxDataSize = 5242880, -- 5MB
|
||||
requestMaxDataSize = 5242880, -- 5MiB
|
||||
-- Pygments style name
|
||||
pygmentsStyle = "monokai",
|
||||
-- Extra CSS applied to syntax-highlighted blocks (with and without Pygments)
|
||||
|
|
@ -30,5 +30,7 @@ return {
|
|||
-- Time interval to remove expired cache entries (seconds)
|
||||
cacheCleanInterval = 3600, -- 1 hour
|
||||
-- Tile link location (the big "vrel" on the top right of the page)
|
||||
titleLink = "/"
|
||||
titleLink = "/",
|
||||
-- Max amount of bytes to retrieve at once from a client when receiving big pastes
|
||||
maxChunkSize = 1024 -- 1 KiB
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue