noc.main.models.slowop

Module Contents

noc.main.models.slowop.logger
class noc.main.models.slowop.SlowOp

Bases: mongoengine.document.Document

meta
STATUS_RUNNING = R
STATUS_COMPLETE = C
STATUS_FAILED = F
SLOW_TIMEOUT = 5.0
SLOW_TTL
ts
expire
app_id
user
status
duration
pickled_result
pool
TimeoutError
classmethod submit(cls, fn, app_id=None, user=None, *args, **kwargs)
is_ready(self)
result(self)