添加新接口
This commit is contained in:
parent
1f5724c5a0
commit
8344aaa4c4
|
@ -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
|
||||
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue