mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-09-23 14:14:43 -04:00
Comment frontier query change
This commit is contained in:
parent
f332e569be
commit
05ddc28ea8
1 changed files with 1 additions and 0 deletions
|
@ -138,6 +138,7 @@ class RethinkDbFrontier:
|
||||||
emit=lambda acc, site, new_acc: r.branch(
|
emit=lambda acc, site, new_acc: r.branch(
|
||||||
r.and_(
|
r.and_(
|
||||||
r.or_(
|
r.or_(
|
||||||
|
# Avoid tight loop when unclaimed site was recently disclaimed
|
||||||
r.and_(
|
r.and_(
|
||||||
site["claimed"].not_(),
|
site["claimed"].not_(),
|
||||||
r.or_(
|
r.or_(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue