添加新接口

This commit is contained in:
tangshuangpku@hotmail.com 2016-06-07 19:48:19 +08:00
parent 1f5724c5a0
commit 8344aaa4c4
2 changed files with 4 additions and 4 deletions

View File

@ -16,7 +16,7 @@ class Container_Collector(threading.Thread):
def __init__(self,test=False):
threading.Thread.__init__(self)
self.thread_stop = False
self.interval = 2000
self.interval = 2
self.test = test
self.cpu_last = {}
self.cpu_quota = {}
@ -181,7 +181,7 @@ class Collector(threading.Thread):
def __init__(self,test=False):
threading.Thread.__init__(self)
self.thread_stop = False
self.interval = 1000
self.interval = 1
self.test=test
return

View File

@ -119,9 +119,9 @@
<label>Content</label>
<textarea class="form-control" name="content"></textarea>
</div>
<div class="form-group">
<div class="form-group" style="margin-bottom: 0">
<label>Groups</label>
<input type="text" class="form-control" name="N/A" style="display: none">
<input type="text" class="form-control" name="notify_id" style="display: none" value="{{ notify['id'] }}">
</div>
<div class="form-group">
<div class="checkbox col-sm-10">