Skip to content

Commit 61fb232

Browse files
committed
default values
1 parent c86e147 commit 61fb232

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

WopiHost.Discovery/DiscoveryOptions.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ public class DiscoveryOptions
1414

1515
/// <summary>
1616
/// Determines how often should the discovery file be fetched again.
17+
/// The default value is 24 hours.
1718
/// </summary>
18-
public TimeSpan RefreshInterval { get; set; }
19+
public TimeSpan RefreshInterval { get; set; } = TimeSpan.FromHours(24);
1920
}
2021
}

WopiHost.Web/appsettings.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"HostUrl": "http://rocky-ntb:5000",
77
"ClientUrl": "http://owaserver",
88
"Discovery": {
9-
"NetZone": "InternalHttp"
9+
"NetZone": "InternalHttp",
10+
"RefreshInterval": "12:00:00"
1011
}
1112
},
1213
"Logging": {

0 commit comments

Comments
 (0)