mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Allow the user to give longer cloud timeout on the command line
When stuck in areas with really bad internet 5 seconds may not be enough, but making the timeout longer in general seems the wrong way to go. So keep the default 5 seconds but allow the user to override that with subsurface --cloud-timeout=NN Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9815eaf1ed
commit
177e21076b
3 changed files with 13 additions and 4 deletions
|
@ -132,6 +132,7 @@ struct preferences {
|
|||
int time_threshold;
|
||||
int distance_threshold;
|
||||
bool git_local_only;
|
||||
short cloud_timeout;
|
||||
locale_prefs_t locale; //: TODO: move the rest of locale based info here.
|
||||
};
|
||||
enum unit_system_values {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue