@@ -11,11 +11,11 @@ import (
11
11
func main () {
12
12
dbpath0 := flag .String ("db" , "index.sqlite3" , "Path to the SQLite file for the metadata" )
13
13
port0 := flag .Int ("port" , 8080 , "Port to listen to for requests" )
14
- backup0 := flag .Int ("backup" , 24 , "Frequency of back-ups, in hours" )
15
- update0 := flag .Int ("update" , 24 , "Frequency of updates , in hours" )
16
- timeout0 := flag .Int ("finish" , 30 , "Time spent polling for the verification code when finishing (de)registration, in seconds" )
17
- prefix0 := flag .String ("prefix" , "" , "Prefix to add to each endpoint, excluding the first and last slashes (default \" \" )" )
18
- lifetime0 := flag .Int ("session" , 10 , "Session lifetime, in minutes" )
14
+ backup0 := flag .Int ("backup" , 24 , "Frequency of creating or updating back-ups, in hours" )
15
+ update0 := flag .Int ("update" , 24 , "Frequency of updating the index by scanning registered directories , in hours" )
16
+ timeout0 := flag .Int ("finish" , 30 , "Maximum time spent polling for the verification code when finishing (de)registration, in seconds" )
17
+ prefix0 := flag .String ("prefix" , "" , "Prefix to add to each endpoint, after removing any leading or trailing slashes (default \" \" )" )
18
+ lifetime0 := flag .Int ("session" , 10 , "Maximum lifetime of a (de)registration session from start to finish , in minutes" )
19
19
flag .Parse ()
20
20
21
21
dbpath := * dbpath0
0 commit comments