add timeout flag to refresh
This commit is contained in:
@@ -52,6 +52,11 @@ var (
|
||||
`Number of worker threads to use when refreshing feeds. More is faster,
|
||||
but there are more concurrent outgoing requests then.`,
|
||||
)
|
||||
refreshTimeoutFlag = commands["refresh"].IntP(
|
||||
"timeout", "t",
|
||||
10,
|
||||
`Set a timeout for requests, in seconds.`,
|
||||
)
|
||||
|
||||
// remove
|
||||
removeFeedsFlag = commands["remove"].BoolP(
|
||||
|
||||
Reference in New Issue
Block a user