DQ logs
This commit is contained in:
parent
838288ea13
commit
f785e588ab
@ -75,6 +75,7 @@ func collectItems(
|
|||||||
pager.SetNext(prevDelta)
|
pager.SetNext(prevDelta)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
logger.Ctx(ctx).Info("delta query iteration begin")
|
||||||
for {
|
for {
|
||||||
// assume delta urls here, which allows single-token consumption
|
// assume delta urls here, which allows single-token consumption
|
||||||
page, err := pager.GetPage(graph.ConsumeNTokens(ctx, graph.SingleGetOrDeltaLC))
|
page, err := pager.GetPage(graph.ConsumeNTokens(ctx, graph.SingleGetOrDeltaLC))
|
||||||
@ -128,6 +129,7 @@ func collectItems(
|
|||||||
logger.Ctx(ctx).Debugw("Found nextLink", "link", nextLink)
|
logger.Ctx(ctx).Debugw("Found nextLink", "link", nextLink)
|
||||||
pager.SetNext(nextLink)
|
pager.SetNext(nextLink)
|
||||||
}
|
}
|
||||||
|
logger.Ctx(ctx).Info("delta query iteration end")
|
||||||
|
|
||||||
return DeltaUpdate{URL: newDeltaURL, Reset: invalidPrevDelta}, newPaths, excluded, nil
|
return DeltaUpdate{URL: newDeltaURL, Reset: invalidPrevDelta}, newPaths, excluded, nil
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user