Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias identifier Import alias identifier Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias ImportFrom alias alias alias alias alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str orelse Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad SubscriptLoad Call AttributeLoad Call AttributeLoad NameLoad attr attr Str Index Num Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str ImportFrom alias Assign AttributeStore NameLoad attr Call NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListComp Call NameLoad NameLoad comprehension NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Str Str Str Call NameLoad NameLoad Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot NameLoad body Return Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad TupleLoad Str Num keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad TupleLoad Str Num keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad TupleLoad Str Num keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad TupleLoad Str Num keyword NameLoad keyword Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad TupleLoad Str Num keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad TupleLoad Str Num TupleLoad Str Num keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad TupleLoad Str Num TupleLoad Str Num keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad TupleLoad Str Num TupleLoad Str Num keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad TupleLoad Str Num keyword NameLoad keyword NameLoad keyword Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad TupleLoad Str Num keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad TupleLoad Str Num keyword NameLoad keyword NameLoad keyword NameLoad TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str NameLoad handlers ExceptHandler body Pass decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad While NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str While NameLoad body TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad finalbody Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str While NameLoad body TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr keyword Num handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad finalbody Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body While NameLoad body Assign NameStore ListLoad TryFinally body TryExcept body For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body If Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad AugAssignAdd NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad orelse Assign AttributeStore NameLoad attr NameLoad finalbody Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Call NameLoad ListComp Call NameLoad NameLoad Str Call NameLoad NameLoad Str Num comprehension NameStore NameLoad Assign SubscriptStore NameLoad Index Str BinOpAdd SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Dict Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore SubscriptLoad NameLoad Slice Num body If CompareIn Str NameLoad body Break Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Str Num Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Str NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpOr UnaryOpNot NameLoad BoolOpAnd CompareNotEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore Dict Str Str Str Num Num Num Assign NameStore Dict Str Str Str Num Num Num orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str Str Str Str Str Str Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad keyword Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Num Return Dict Str Str Str Str Str Str Str Str Str Str AttributeLoad NameLoad attr DictComp NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr CompareIn NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad NameLoad attr Dict Str Str Str AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If CompareGt SubscriptLoad AttributeLoad NameLoad attr Index Str Num body If CompareGt SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str BinOpMult BinOpMult SubscriptLoad AttributeLoad NameLoad attr Index Str Num Num body Expr Call AttributeLoad NameLoad attr If SubscriptLoad AttributeLoad NameLoad attr Index Str body With Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str TryExcept body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Dict Str Call NameLoad AttributeLoad NameLoad attr Dict Str NameLoad keyword NameLoad keyword NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareGt SubscriptLoad AttributeLoad NameLoad attr Index Str Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg body Pass decorator_list decorator_list ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Str Assign NameStore Str If CompareIn NameLoad ListLoad Str Str Str body Assign NameStore Call AttributeLoad NameLoad attr keyword CompareEq NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad orelse If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Str orelse Assign NameStore Str Expr Call NameLoad NameLoad ListLoad TupleLoad Str Str Return ListLoad NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad keyword Call NameLoad TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num TryFinally body TryExcept body While NameLoad body If AttributeLoad NameLoad attr body Break While NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Assign NameStore BinOpAdd BinOpSub AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad BinOpSub NameLoad NameLoad If CompareEq NameLoad Num body Break If CompareGt NameLoad Num body Assign AttributeStore NameLoad attr Str Break Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore BinOpSub NameLoad Call NameLoad NameLoad If CompareLtE NameLoad Num body Break If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Assign NameStore Num AugAssignAdd NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad If BoolOpAnd NameLoad CompareGtE AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Break If CompareEq Call NameLoad NameLoad Num body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Break If BoolOpAnd UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr CompareEq Call NameLoad NameLoad Num CompareEq NameLoad AttributeLoad NameLoad attr CompareGt AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Str AugAssignAdd AttributeStore NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str BinOpMult Num AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr Num handlers ExceptHandler type NameLoad body Pass finalbody TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str handlers ExceptHandler type NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Str Num Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Str NameLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TryFinally body TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr Index Num ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str keyword NameLoad ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad finalbody If NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad AugAssignAdd AttributeStore NameLoad attr Num If SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Raise Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Raise Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body If AttributeLoad NameLoad attr body Expr Call NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A gevent N/A gevent.pool N/A os N/A signal N/A datetime N/A time N/A socket N/A traceback N/A psutil N/A sys N/A json json_stdlib N/A ujson json N/A BaseHTTPServer bson ObjectId collections defaultdict job Job exceptions TimeoutInterrupt StopRequested JobInterrupt AbortInterrupt RetryInterrupt MaxRetriesInterrupt context set_current_worker set_current_job get_current_job get_current_config connections enable_greenlet_tracing queue Queue utils MongoJSONEncoder Worker N/A object N/A N/A  Main worker class.  N/A job_class Job N/A status init N/A mongodb_jobs None N/A mongodb_logs None N/A redis None __init__ N/A N/A self N/A N/A N/A N/A set_current_worker self N/A N/A N/A N/A self config get trace_greenlets N/A N/A N/A enable_greenlet_tracing N/A N/A self datestarted N/A N/A N/A datetime datetime utcnow N/A N/A self done_jobs 0 N/A N/A self max_jobs N/A N/A self config N/A max_jobs N/A N/A self connected False N/A N/A self exitcode 0 N/A N/A self process N/A N/A psutil Process N/A N/A os getpid N/A N/A self greenlet N/A N/A gevent getcurrent N/A N/A self graceful_stop None N/A N/A self idle_event N/A N/A N/A gevent event Event N/A N/A self idle_wait_count 0 N/A N/A self id N/A ObjectId N/A N/A N/A N/A self config get name N/A N/A N/A self name N/A N/A self config N/A name N/A N/A N/A self name N/A %s.%s N/A N/A N/A N/A N/A N/A socket gethostname split . N/A 0 N/A N/A os getpid N/A N/A self pool_size N/A N/A self config N/A greenlets logger LogHandler N/A N/A self log_handler N/A LogHandler quiet N/A N/A self config N/A quiet N/A N/A self log N/A N/A N/A self log_handler get_logger worker N/A self id N/A N/A self queues N/A N/A Queue x N/A x N/A N/A self config N/A queues x N/A N/A N/A N/A self log info N/A Starting Gevent pool with %s worker greenlets (+ report, logs, adminhttp) N/A self pool_size N/A N/A self gevent_pool N/A N/A N/A gevent pool Pool N/A self pool_size N/A N/A self greenlets N/A N/A N/A self _traced_io N/A types tasks total N/A defaultdict float N/A defaultdict float 0 N/A config N/A N/A self N/A N/A N/A N/A get_current_config N/A property connect N/A N/A self force N/A False N/A N/A N/A N/A self connected N/A force N/A N/A N/A N/A self redis N/A connections redis N/A N/A self mongodb_jobs N/A connections mongodb_jobs N/A N/A self mongodb_logs N/A connections mongodb_logs N/A N/A self mongodb_logs N/A N/A N/A N/A N/A self log_handler set_collection N/A N/A self mongodb_logs mrq_logs N/A N/A self connected True N/A N/A N/A N/A self config N/A no_mongodb_ensure_indexes N/A N/A N/A N/A self ensure_indexes N/A ensure_indexes N/A N/A self N/A N/A N/A N/A self mongodb_logs N/A N/A N/A N/A N/A N/A self mongodb_logs mrq_logs ensure_index N/A N/A job 1 background False N/A N/A N/A N/A N/A self mongodb_logs mrq_logs ensure_index N/A N/A worker 1 background False sparse True N/A N/A N/A N/A N/A self mongodb_jobs mrq_workers ensure_index N/A N/A status 1 background False N/A N/A N/A N/A N/A self mongodb_jobs mrq_workers ensure_index N/A N/A datereported 1 background False expireAfterSeconds 3600 N/A N/A N/A N/A N/A self mongodb_jobs mrq_jobs ensure_index N/A N/A status 1 background False N/A N/A N/A N/A N/A self mongodb_jobs mrq_jobs ensure_index N/A N/A path 1 N/A status 1 background False N/A N/A N/A N/A N/A self mongodb_jobs mrq_jobs ensure_index N/A N/A worker 1 N/A status 1 background False sparse True N/A N/A N/A N/A N/A self mongodb_jobs mrq_jobs ensure_index N/A N/A queue 1 N/A status 1 background False N/A N/A N/A N/A N/A self mongodb_jobs mrq_jobs ensure_index N/A N/A dateexpires 1 sparse True background False expireAfterSeconds 0 N/A N/A N/A N/A N/A self mongodb_jobs mrq_jobs ensure_index N/A N/A dateretry 1 sparse True background False N/A N/A N/A N/A N/A self mongodb_jobs mrq_scheduled_jobs ensure_index N/A N/A hash 1 unique True background False drop_dups True N/A N/A N/A N/A N/A N/A self mongodb_jobs command N/A collMod usePowerOf2Sizes mrq_jobs True N/A N/A N/A N/A self mongodb_jobs command N/A collMod usePowerOf2Sizes mrq_workers True N/A N/A N/A N/A N/A greenlet_scheduler N/A N/A self N/A N/A scheduler Scheduler N/A scheduler N/A Scheduler N/A N/A self mongodb_jobs mrq_scheduled_jobs N/A N/A N/A scheduler sync_tasks N/A N/A N/A N/A self config get scheduler_tasks N/A N/A True N/A N/A N/A N/A scheduler check N/A N/A N/A time sleep N/A int N/A N/A self config N/A scheduler_interval N/A greenlet_report N/A N/A self N/A N/A N/A  This greenlet always runs in background to update current status
            in MongoDB every 10 seconds.

            Caution: it might get delayed when doing long blocking operations.
            Should we do this in a thread instead?
          N/A True N/A N/A N/A N/A N/A N/A N/A N/A self report_worker N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self log error N/A When reporting: %s e N/A N/A N/A N/A time sleep N/A N/A self config N/A report_interval N/A greenlet_logs N/A N/A self N/A N/A N/A  This greenlet always runs in background to update current
            logs in MongoDB every 10 seconds.

            Caution: it might get delayed when doing long blocking operations.
            Should we do this in a thread instead?
          N/A True N/A N/A N/A N/A N/A N/A N/A N/A self flush_logs w 0 N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self log error N/A When flushing logs: %s e N/A N/A N/A N/A time sleep N/A N/A self config N/A report_interval N/A greenlet_subqueues N/A N/A self N/A N/A N/A True N/A N/A queues N/A N/A N/A N/A N/A N/A queue N/A N/A self config N/A queues N/A N/A N/A N/A queue endswith N/A N/A N/A get_current_config get subqueues_delimiter N/A N/A N/A N/A queues append N/A Queue N/A queue N/A -1 N/A N/A N/A queues append N/A Queue queue N/A queues N/A N/A Queue redis_known_subqueues queue N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self log error When refreshing subqueues: %s e N/A N/A N/A self queues queues N/A N/A N/A N/A time sleep N/A N/A self config N/A subqueues_refresh_interval N/A get_memory N/A N/A self N/A N/A N/A mmaps N/A N/A N/A self process get_memory_maps N/A mem N/A rss swap N/A sum N/A N/A x rss N/A x mmaps N/A sum N/A N/A getattr x swap N/A getattr x swapped 0 N/A x mmaps N/A N/A mem N/A total N/A N/A mem N/A rss N/A mem N/A swap N/A mem N/A get_worker_report N/A N/A self with_memory N/A False N/A N/A  Returns a dict containing all the data we can about the current status of the worker and
            its jobs.  N/A greenlets N/A N/A greenlet N/A self gevent_pool N/A N/A g N/A N/A short_stack N/A N/A stack N/A N/A traceback format_stack N/A greenlet gr_frame N/A s N/A stack N/A 1 N/A N/A N/A /gevent/hub.py s N/A N/A N/A N/A N/A short_stack append s N/A N/A g N/A stack short_stack N/A job N/A get_current_job N/A id greenlet N/A job N/A N/A N/A N/A job save N/A N/A job data N/A N/A N/A g N/A path N/A N/A job data N/A path N/A N/A g N/A datestarted N/A job datestarted N/A N/A g N/A id N/A str N/A job id N/A N/A g N/A time N/A getattr greenlet _trace_time 0 N/A N/A g N/A switches N/A getattr greenlet _trace_switches None N/A N/A N/A job _current_io None N/A N/A N/A g N/A io N/A job _current_io N/A N/A N/A greenlets append g N/A N/A N/A with_memory N/A N/A N/A N/A self config N/A add_network_latency 0 N/A N/A self config N/A add_network_latency N/A N/A cpu N/A user system percent 0 0 0 N/A mem N/A rss swap total 0 0 0 N/A N/A cpu_times N/A N/A N/A self process get_cpu_times N/A cpu N/A user system percent N/A cpu_times user N/A cpu_times system N/A N/A N/A self process get_cpu_percent 0 N/A mem N/A N/A self get_memory N/A whitelisted_config N/A max_jobs greenlets processes queues scheduler name local_ip N/A io None N/A N/A self _traced_io N/A N/A io N/A N/A N/A k v N/A N/A N/A self _traced_io items N/A N/A N/A k total N/A N/A N/A io N/A k v N/A N/A N/A io N/A k N/A sorted N/A N/A v items reverse True key N/A N/A N/A x N/A N/A x N/A 1 N/A N/A status config done_jobs datestarted datereported name io _id process jobs N/A self status N/A k v N/A N/A k v N/A N/A N/A self config iteritems N/A k whitelisted_config N/A self done_jobs N/A self datestarted N/A N/A N/A datetime datetime utcnow N/A self name io N/A str N/A self id N/A pid cpu mem N/A N/A self process pid cpu mem greenlets N/A report_worker N/A N/A self w N/A 0 N/A N/A report N/A N/A self get_worker_report with_memory True N/A N/A N/A N/A self config N/A max_memory 0 N/A N/A N/A N/A N/A N/A report N/A process N/A mem N/A total N/A N/A N/A N/A self config N/A max_memory 1024 1024 N/A N/A N/A N/A self shutdown_max_memory N/A N/A N/A self config N/A report_file N/A N/A N/A open N/A N/A self config N/A report_file wb f N/A N/A N/A N/A f write N/A N/A json dumps report ensure_ascii False N/A N/A _id report N/A N/A N/A report N/A _id N/A N/A N/A N/A N/A N/A N/A self mongodb_jobs mrq_workers update N/A _id N/A ObjectId N/A self id N/A $set report upsert True w w N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self log debug N/A Worker report failed: %s e N/A greenlet_admin N/A N/A self N/A N/A N/A  This greenlet is used to get status information about the worker
            when --admin_port was given
         N/A N/A N/A N/A self config N/A processes 1 N/A N/A N/A N/A N/A self log debug Admin server disabled because of multiple processes. N/A Devnull N/A object N/A write N/A N/A self N/A _ N/A N/A N/A N/A gevent wsgi admin_routes N/A N/A env start_response N/A N/A N/A path N/A env N/A PATH_INFO N/A status 200 OK N/A res N/A N/A path N/A / /report /report_mem N/A N/A report N/A N/A self get_worker_report with_memory N/A path /report_mem N/A res N/A N/A json_stdlib dumps report cls MongoJSONEncoder N/A N/A N/A path /wait_for_idle N/A N/A N/A self idle_wait_count 0 N/A N/A N/A N/A self idle_event clear N/A N/A N/A N/A self idle_event wait N/A res idle N/A N/A status 404 Not Found N/A N/A start_response status N/A N/A Content-Type application/json N/A N/A res N/A N/A server N/A N/A wsgi WSGIServer N/A N/A N/A self config N/A admin_ip N/A N/A self config N/A admin_port admin_routes log N/A Devnull N/A N/A N/A N/A N/A N/A self log debug N/A Starting admin server on port %s N/A N/A self config N/A admin_port N/A N/A N/A server serve_forever N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self log debug N/A Error in admin server : %s e N/A flush_logs N/A N/A self w N/A 0 N/A N/A N/A N/A N/A self log_handler flush w w N/A work N/A N/A self N/A N/A N/A Starts the work loop.

         N/A N/A N/A self work_init N/A N/A N/A self work_loop max_jobs N/A self max_jobs N/A N/A N/A self work_stop N/A work_init N/A N/A self N/A N/A N/A N/A N/A self connect N/A N/A self status started N/A N/A N/A self greenlets N/A subqueues N/A N/A gevent spawn N/A self greenlet_subqueues N/A N/A N/A self greenlets N/A report N/A N/A gevent spawn N/A self greenlet_report N/A N/A N/A self greenlets N/A logs N/A N/A gevent spawn N/A self greenlet_logs N/A N/A N/A self config N/A scheduler N/A N/A N/A N/A self greenlets N/A scheduler N/A N/A gevent spawn N/A self greenlet_scheduler N/A N/A N/A self config N/A admin_port N/A N/A N/A N/A self greenlets N/A admin N/A N/A gevent spawn N/A self greenlet_admin N/A N/A N/A self install_signal_handlers N/A work_loop N/A N/A self max_jobs N/A None N/A N/A N/A self done_jobs 0 N/A N/A self idle_wait_count 0 N/A N/A N/A N/A N/A True N/A N/A N/A self graceful_stop N/A N/A N/A True N/A N/A free_pool_slots N/A N/A N/A self gevent_pool free_count N/A max_jobs N/A N/A total_started N/A N/A N/A self pool_size free_pool_slots N/A self done_jobs N/A free_pool_slots N/A min free_pool_slots N/A max_jobs total_started N/A N/A free_pool_slots 0 N/A N/A N/A N/A free_pool_slots 0 N/A N/A N/A self status wait N/A N/A N/A self status full N/A N/A N/A gevent sleep 0.01 N/A jobs N/A N/A queue N/A self queues N/A N/A max_jobs_per_queue N/A free_pool_slots N/A len jobs N/A N/A max_jobs_per_queue 0 N/A N/A N/A N/A N/A N/A self config N/A dequeue_strategy parallel N/A N/A max_jobs_per_queue 1 N/A jobs N/A N/A queue dequeue_jobs max_jobs max_jobs_per_queue job_class N/A self job_class worker self N/A job jobs N/A N/A N/A N/A N/A self gevent_pool spawn N/A self perform_job job N/A N/A max_jobs N/A N/A self done_jobs max_jobs N/A N/A N/A N/A N/A self log info N/A Reached max_jobs=%s N/A self done_jobs N/A N/A N/A N/A len jobs 0 N/A N/A N/A N/A N/A self config N/A dequeue_strategy burst N/A N/A N/A N/A N/A self log info Burst mode: stopping now because queues were empty N/A N/A N/A N/A N/A N/A N/A self idle_event is_set N/A N/A len jobs 0 N/A free_pool_slots N/A self pool_size N/A N/A self idle_wait_count 0 N/A N/A N/A N/A N/A self idle_event set N/A N/A self status wait N/A N/A self idle_wait_count 1 N/A N/A N/A gevent sleep N/A min N/A N/A self config N/A max_latency N/A 0.001 N/A self idle_wait_count N/A N/A N/A self idle_wait_count 0 N/A N/A N/A StopRequested N/A N/A N/A N/A N/A N/A N/A N/A N/A self log debug Joining the greenlet pool... N/A N/A self status join N/A N/A N/A N/A self gevent_pool join timeout None raise_error False N/A N/A N/A N/A self log debug Joined. N/A N/A N/A StopRequested N/A N/A N/A work_stop N/A N/A self N/A N/A N/A N/A self status kill N/A N/A N/A N/A self gevent_pool kill exception JobInterrupt block True N/A g N/A self greenlets N/A N/A g_time N/A getattr N/A N/A self greenlets N/A g _trace_time 0 N/A g_switches N/A getattr N/A N/A self greenlets N/A g _trace_switches None N/A N/A N/A N/A N/A self greenlets N/A g kill block True N/A N/A N/A N/A self log debug N/A Greenlet for %s killed (%0.5fs, %s switches). N/A g g_time g_switches N/A N/A self status stop N/A N/A N/A self report_worker w 1 N/A N/A N/A self flush_logs w 1 N/A g_time N/A getattr N/A self greenlet _trace_time 0 N/A g_switches N/A getattr N/A self greenlet _trace_switches None N/A N/A N/A N/A self log debug N/A Exiting main worker greenlet (%0.5fs, %s switches). N/A g_time g_switches N/A N/A self exitcode N/A perform_job N/A N/A self job N/A N/A N/A  Wraps a job.perform() call with timeout logic and exception handlers.

            This is the first call happening inside the greenlet.
         N/A N/A N/A self config N/A trace_memory N/A N/A N/A N/A job trace_memory_start N/A N/A set_current_job job N/A gevent_timeout None N/A N/A job timeout N/A N/A gevent_timeout N/A N/A gevent Timeout N/A job timeout N/A TimeoutInterrupt N/A Job exceeded maximum timeout value in greenlet (%d seconds). N/A job timeout N/A N/A N/A gevent_timeout start N/A N/A N/A N/A N/A N/A N/A job perform N/A N/A N/A RetryInterrupt N/A N/A N/A N/A N/A self log error Caught retry N/A N/A N/A job save_retry N/A N/A N/A sys exc_info N/A 1 N/A N/A MaxRetriesInterrupt N/A N/A N/A N/A N/A self log error Max retries reached N/A N/A N/A job _save_status maxretries exception True N/A N/A AbortInterrupt N/A N/A N/A N/A N/A self log error Caught abort N/A N/A N/A job save_abort N/A N/A TimeoutInterrupt N/A N/A N/A N/A N/A self log error N/A Job timeouted after %s seconds N/A job timeout N/A N/A N/A job _save_status timeout exception True N/A N/A JobInterrupt N/A N/A N/A N/A N/A self log error Job interrupted N/A N/A N/A job _save_status interrupt exception True N/A N/A Exception N/A N/A N/A N/A N/A self log error Job failed N/A N/A N/A job _save_status failed exception True N/A N/A gevent_timeout N/A N/A N/A N/A gevent_timeout cancel N/A N/A set_current_job None N/A N/A self done_jobs 1 N/A N/A N/A self config N/A trace_memory N/A N/A N/A N/A job trace_memory_stop N/A shutdown_graceful N/A N/A self N/A N/A N/A  Graceful shutdown: waits for all the jobs to finish.  N/A N/A self exitcode 2 N/A N/A N/A N/A self log info Graceful shutdown... N/A N/A StopRequested N/A shutdown_max_memory N/A N/A self N/A N/A N/A N/A self exitcode 4 N/A N/A N/A N/A self log info Max memory reached, shutdown... N/A N/A self graceful_stop True N/A shutdown_now N/A N/A self N/A N/A N/A  Forced shutdown: interrupts all the jobs.  N/A N/A self exitcode 3 N/A N/A N/A N/A self log info Forced shutdown... N/A N/A self status killing N/A N/A N/A N/A self gevent_pool kill exception JobInterrupt block False N/A N/A StopRequested N/A install_signal_handlers N/A N/A self N/A N/A N/A  Handle events like Ctrl-C from the command line.  N/A N/A self graceful_stop False request_shutdown_now N/A N/A N/A N/A N/A N/A N/A self shutdown_now N/A request_shutdown_graceful N/A N/A N/A N/A N/A N/A self graceful_stop N/A N/A N/A request_shutdown_now N/A N/A N/A self graceful_stop True N/A N/A N/A self shutdown_graceful N/A N/A N/A N/A gevent signal N/A signal SIGINT request_shutdown_graceful N/A N/A N/A gevent signal N/A signal SIGTERM request_shutdown_now N/A N/A