Commit d9cbd1db by liulongfei

修改默认值

parent e4bd662b
...@@ -390,11 +390,6 @@ namespace VIZ.TimeSlice.Module ...@@ -390,11 +390,6 @@ namespace VIZ.TimeSlice.Module
/// </summary> /// </summary>
private readonly static string CLIENT_PULL_MESSAGE_URL = ApplicationDomainEx.IniStorage.GetValue<ClientConfig, string>(p => p.CLIENT_PULL_MESSAGE_URL); private readonly static string CLIENT_PULL_MESSAGE_URL = ApplicationDomainEx.IniStorage.GetValue<ClientConfig, string>(p => p.CLIENT_PULL_MESSAGE_URL);
/// <summary>
/// 推送间隔限制(单位:毫秒)
/// </summary>
private readonly static int CLIENT_PULL_MESSAGE_INTERVAL = ApplicationDomainEx.IniStorage.GetValue<ClientConfig, int>(p => p.CLIENT_PULL_MESSAGE_INTERVAL);
// ========================================================== // ==========================================================
// Commond // Commond
// ========================================================== // ==========================================================
......
...@@ -17,11 +17,5 @@ namespace VIZ.TimeSlice.Storage ...@@ -17,11 +17,5 @@ namespace VIZ.TimeSlice.Storage
/// </summary> /// </summary>
[Ini(Section = "Client", DefaultValue = "http://localhost:8888/olympic/pull/message?status=1&path={path}", Type = typeof(string))] [Ini(Section = "Client", DefaultValue = "http://localhost:8888/olympic/pull/message?status=1&path={path}", Type = typeof(string))]
public string CLIENT_PULL_MESSAGE_URL { get; set; } public string CLIENT_PULL_MESSAGE_URL { get; set; }
/// <summary>
/// 推送间隔限制(单位:毫秒)
/// </summary>
[Ini(Section = "Client", DefaultValue = "3000", Type = typeof(int))]
public string CLIENT_PULL_MESSAGE_INTERVAL { get; set; }
} }
} }
...@@ -27,6 +27,4 @@ format=mp4 ...@@ -27,6 +27,4 @@ format=mp4
; ============================================================ ; ============================================================
[Client] [Client]
; 推送消息地址 ; 推送消息地址
CLIENT_PULL_MESSAGE_URL=http://localhost:8888/olympic/pull/message?status=1&path={path} CLIENT_PULL_MESSAGE_URL=http://localhost:8888/olympic/pull/message?status=1&path={path}
; 推送间隔限制(单位:秒) \ No newline at end of file
CLIENT_PULL_MESSAGE_INTERVAL=3
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment