Skip to content

Commit

Permalink
Merge branch 'document_service'
Browse files Browse the repository at this point in the history
  • Loading branch information
kroman0 committed Oct 31, 2016
2 parents 1c65bd0 + b299d52 commit cb25e8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openprocurement/contracting/api/migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ def from0to1(registry):
class Request(object):
def __init__(self, registry):
self.registry = registry
results = registry.db.iterview('contracts/all', 2 ** 10, include_docs=True)
len(registry.db.view('contracts/all', limit=1))
results = registry.db.iterview('contracts/all', 2 ** 10, include_docs=True, stale='update_after')
docs = []
request = Request(registry)
root = Root(request)
Expand Down

0 comments on commit cb25e8c

Please sign in to comment.