mirror of
https://github.com/fuckpiracyshield/data-storage.git
synced 2024-05-20 05:56:18 +02:00
17 lines
297 B
Python
17 lines
297 B
Python
import time
|
|
|
|
class BaseStorage(DatabaseArangodbDocument):
|
|
|
|
start_counter = 0
|
|
|
|
stop_counter = 0
|
|
|
|
def __init__(self):
|
|
super().__init__()
|
|
|
|
def _start_counter(self):
|
|
self.start_counter = time.time()
|
|
|
|
def _stop_counter(self):
|
|
self.stop_counter = time.time()
|