mirror of
https://github.com/veops/cmdb.git
synced 2025-08-07 21:39:26 +08:00
docs: update init sql
docs: update init sql
This commit is contained in:
@@ -1,13 +1,14 @@
|
|||||||
# -*- coding:utf-8 -*-
|
# -*- coding:utf-8 -*-
|
||||||
|
|
||||||
|
|
||||||
import click
|
|
||||||
import copy
|
import copy
|
||||||
import datetime
|
import datetime
|
||||||
import json
|
import json
|
||||||
import requests
|
|
||||||
import time
|
import time
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
|
import click
|
||||||
|
import requests
|
||||||
from flask import current_app
|
from flask import current_app
|
||||||
from flask.cli import with_appcontext
|
from flask.cli import with_appcontext
|
||||||
from flask_login import login_user
|
from flask_login import login_user
|
||||||
@@ -196,6 +197,8 @@ def cmdb_counter():
|
|||||||
CMDBCounterCache.flush_adc_counter()
|
CMDBCounterCache.flush_adc_counter()
|
||||||
i = 0
|
i = 0
|
||||||
|
|
||||||
|
CMDBCounterCache.flush_sub_counter()
|
||||||
|
|
||||||
i += 1
|
i += 1
|
||||||
except:
|
except:
|
||||||
import traceback
|
import traceback
|
||||||
|
101
docs/cmdb.sql
101
docs/cmdb.sql
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user