Mercurial > prosody-modules
comparison mod_http_upload/README.markdown @ 3440:64d1af33084f
mod_http_upload: Document prosodyctl command for expiring uploads
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 14 Jan 2019 10:56:03 +0100 |
parents | 5912f3bacdb4 |
children | 0bff7d5ca81d |
comparison
equal
deleted
inserted
replaced
3439:5912f3bacdb4 | 3440:64d1af33084f |
---|---|
49 http_upload_expire_after = 60 * 60 * 24 * 7 -- a week in seconds | 49 http_upload_expire_after = 60 * 60 * 24 * 7 -- a week in seconds |
50 ``` | 50 ``` |
51 | 51 |
52 Expired files are deleted when a new upload slot is requested, | 52 Expired files are deleted when a new upload slot is requested, |
53 | 53 |
54 A command exists to invoke expiry: | |
55 | |
56 ``` | |
57 prosodyctl mod_http_upload expire [optional list of users] | |
58 ``` | |
59 | |
54 ### User quota | 60 ### User quota |
55 | 61 |
56 A total maximum size of all uploaded files per user can be set by: | 62 A total maximum size of all uploaded files per user can be set by: |
57 | 63 |
58 ``` lua | 64 ``` lua |