Skip to content

Commit

Permalink
Remove job tracker
Browse files Browse the repository at this point in the history
I was going to port this to Trio, but the entire class is basically just
a wrapper around RethinkDB changefeeds, which I am trying to get away from.
This feature will be reimplemented later with the subscription class
directly calling into the crawl manager.
  • Loading branch information
mehaase committed Jan 8, 2019
1 parent d925bd3 commit a97db3e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 94 deletions.
8 changes: 8 additions & 0 deletions starbelly/subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,14 @@ class JobStatusSubscription(BaseSubscription):
The first emitted event will contain the complete status for each running
crawl; subsequent events will only include fields that have changed since
the previous event.
TODO JOB_STATUS_FIELDS = [
'id', 'name', 'seeds', 'tags', 'run_state', 'started_at',
'completed_at', 'item_count', 'http_success_count', 'http_error_count',
'exception_count', 'http_status_counts', 'schedule_id',
]
'''

def __init__(self, tracker, socket, min_interval):
Expand Down
94 changes: 0 additions & 94 deletions starbelly/tracker.py

This file was deleted.

0 comments on commit a97db3e

Please sign in to comment.