将资源配额记录到数据库

This commit is contained in:
jysperm
2014-05-23 00:42:46 +08:00
parent f8cd3743a7
commit 71dd3bb871
6 changed files with 14 additions and 16 deletions

View File

@@ -9,12 +9,7 @@ module.exports =
action: action
service: service
monitor: monitor
panel_widgets: [
service.widget
]
resources: [
'storage', 'transfer', 'cpu', 'memory', 'diskio'
]

View File

@@ -1,4 +0,0 @@
module.exports =
storage:
interval: '6h'
callback: ->

View File

@@ -9,8 +9,6 @@ module.exports =
throw err if err
callback()
pause: (account, callback) ->
delete: (account, callback) ->
async.series [
(callback) ->