double iteration in Synchronizer.sync
Bug #1262956 reported by
B Carrillo
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
U1DB |
New
|
Undecided
|
Unassigned |
Bug Description
as the comment in code says, there is a double iteration while preparing the sequence of docs to be synced
137 # TODO: there must be a way to not iterate twice
138 docs_by_generation = zip(
139 docs_to_send, (gen for _, gen, _ in changes),
140 (trans for _, _, trans in changes))
Related branches
lp://staging/~ben-a/u1db/fixes--1262956
Rejected
for merging
into
lp://staging/u1db
- dobey (community): Needs Fixing
-
Diff: 17 lines (+3/-4)1 file modifiedu1db/sync.py (+3/-4)
To post a comment you must log in.