parent
							
								
									49d4f4879f
								
							
						
					
					
						commit
						14a6df66ff
					
				@ -205,7 +205,7 @@ URL 里面也可放置占位符,请求时会进行简单的字符串替换。
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## 变更日志
 | 
					## 变更日志
 | 
				
			||||||
 | 
					
 | 
				
			||||||
最新:`dashboard 0.2.5` `agent 0.2.4`,只记录最后一次更新导致必须更新面板的说明。
 | 
					最新:`dashboard 0.2.5` `agent 0.2.5`,只记录最后一次更新导致必须更新面板的说明。
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- `dashboard 0.2.0` `agent 0.2.0` **重大更新**
 | 
					- `dashboard 0.2.0` `agent 0.2.0` **重大更新**
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -198,6 +198,7 @@ func doTask(task *pb.Task) {
 | 
				
			|||||||
		}
 | 
							}
 | 
				
			||||||
	case model.MonitorTypeICMPPing:
 | 
						case model.MonitorTypeICMPPing:
 | 
				
			||||||
		pinger, err := ping.NewPinger(task.GetData())
 | 
							pinger, err := ping.NewPinger(task.GetData())
 | 
				
			||||||
 | 
							pinger.SetPrivileged(true)
 | 
				
			||||||
		if err == nil {
 | 
							if err == nil {
 | 
				
			||||||
			pinger.Count = 10
 | 
								pinger.Count = 10
 | 
				
			||||||
			pinger.Timeout = time.Second * 20
 | 
								pinger.Timeout = time.Second * 20
 | 
				
			||||||
 | 
				
			|||||||
@ -1,5 +1,8 @@
 | 
				
			|||||||
{{define "theme-default/service"}}
 | 
					{{define "theme-default/service"}}
 | 
				
			||||||
{{template "common/header" .}}
 | 
					{{template "common/header" .}}
 | 
				
			||||||
 | 
					{{if ts .CustomCode}}
 | 
				
			||||||
 | 
					{{.CustomCode|safe}}
 | 
				
			||||||
 | 
					{{end}}
 | 
				
			||||||
{{template "common/menu" .}}
 | 
					{{template "common/menu" .}}
 | 
				
			||||||
<div class="nb-container">
 | 
					<div class="nb-container">
 | 
				
			||||||
    <div class="ui container">
 | 
					    <div class="ui container">
 | 
				
			||||||
 | 
				
			|||||||
@ -1,5 +1,8 @@
 | 
				
			|||||||
{{define "theme-hotaru/service"}}
 | 
					{{define "theme-hotaru/service"}}
 | 
				
			||||||
{{template "common/header" .}}
 | 
					{{template "common/header" .}}
 | 
				
			||||||
 | 
					{{if ts .CustomCode}}
 | 
				
			||||||
 | 
					{{.CustomCode|safe}}
 | 
				
			||||||
 | 
					{{end}}
 | 
				
			||||||
{{template "common/menu" .}}
 | 
					{{template "common/menu" .}}
 | 
				
			||||||
<div class="nb-container">
 | 
					<div class="nb-container">
 | 
				
			||||||
    <div class="ui container">
 | 
					    <div class="ui container">
 | 
				
			||||||
 | 
				
			|||||||
@ -27,7 +27,7 @@ var ServerLock sync.RWMutex
 | 
				
			|||||||
var SortedServerList []*model.Server
 | 
					var SortedServerList []*model.Server
 | 
				
			||||||
var SortedServerLock sync.RWMutex
 | 
					var SortedServerLock sync.RWMutex
 | 
				
			||||||
 | 
					
 | 
				
			||||||
var Version = "v0.2.4"
 | 
					var Version = "v0.2.5"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func ReSortServer() {
 | 
					func ReSortServer() {
 | 
				
			||||||
	ServerLock.RLock()
 | 
						ServerLock.RLock()
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user