mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Adding indexes to feed/page fetch histories.
This commit is contained in:
parent
79ba0e695a
commit
1ac8402807
1 changed files with 2 additions and 0 deletions
|
@ -794,6 +794,7 @@ class MFeedFetchHistory(mongo.Document):
|
|||
meta = {
|
||||
'collection': 'feed_fetch_history',
|
||||
'allow_inheritance': False,
|
||||
'indexes': ['feed_id', ('feed_id', 'status_code'), ('feed_id', 'fetch_date')],
|
||||
}
|
||||
|
||||
class PageFetchHistory(models.Model):
|
||||
|
@ -823,6 +824,7 @@ class MPageFetchHistory(mongo.Document):
|
|||
meta = {
|
||||
'collection': 'page_fetch_history',
|
||||
'allow_inheritance': False,
|
||||
'indexes': ['feed_id', ('feed_id', 'status_code'), ('feed_id', 'fetch_date')],
|
||||
}
|
||||
|
||||
class DuplicateFeed(models.Model):
|
||||
|
|
Loading…
Add table
Reference in a new issue