We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c86e147 commit 61fb232Copy full SHA for 61fb232
WopiHost.Discovery/DiscoveryOptions.cs
@@ -14,7 +14,8 @@ public class DiscoveryOptions
14
15
/// <summary>
16
/// Determines how often should the discovery file be fetched again.
17
+ /// The default value is 24 hours.
18
/// </summary>
- public TimeSpan RefreshInterval { get; set; }
19
+ public TimeSpan RefreshInterval { get; set; } = TimeSpan.FromHours(24);
20
}
21
WopiHost.Web/appsettings.json
@@ -6,7 +6,8 @@
6
"HostUrl": "http://rocky-ntb:5000",
7
"ClientUrl": "http://owaserver",
8
"Discovery": {
9
- "NetZone": "InternalHttp"
+ "NetZone": "InternalHttp",
10
+ "RefreshInterval": "12:00:00"
11
12
},
13
"Logging": {
0 commit comments