backend.purge   A
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 12
rs 10
c 0
b 0
f 0
wmc 0
1
'''purge all data. go back to clean slate'''
2
from backend.fcmapp import ApplicationService
3
4
print('Starting application...')
5
APP = ApplicationService()
6
print('started', APP.component)
7
8
#purge cache
9
APP.cache.purge()
10
#purge rabbit
11
APP.shutdown()
12