summaryrefslogtreecommitdiff
path: root/tests/test_polling_api.py
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-04-12 11:43:27 -0500
committerChristian Cleberg <[email protected]>2026-04-12 11:43:27 -0500
commit4390684995c9933f213faec2cb20f39af6d506d2 (patch)
treefac5252756c038e9fdb3444a1a4d68863e1683f3 /tests/test_polling_api.py
parentdaaeba8be8df4d0876312e540bdd420e16ff724c (diff)
downloadhutch-stats-4390684995c9933f213faec2cb20f39af6d506d2.tar.gz
hutch-stats-4390684995c9933f213faec2cb20f39af6d506d2.tar.bz2
hutch-stats-4390684995c9933f213faec2cb20f39af6d506d2.zip
add temporary self-graph indexing priority
Diffstat (limited to 'tests/test_polling_api.py')
-rw-r--r--tests/test_polling_api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_polling_api.py b/tests/test_polling_api.py
index b752524..94188da 100644
--- a/tests/test_polling_api.py
+++ b/tests/test_polling_api.py
@@ -21,7 +21,7 @@ class InsertingPoller:
self.git_service = service
self.tracked_poll_calls: list[str] = []
- def track_actor_request(self, db, actor: str, *, update_last_requested: bool = True):
+ def track_actor_request(self, db, actor: str, *, update_last_requested: bool = True, prioritize: bool = False):
tracked_actor = db.scalar(select(TrackedActor).where(TrackedActor.actor == actor))
if tracked_actor is None:
tracked_actor = TrackedActor(actor=actor, is_active=True)
@@ -61,7 +61,7 @@ class FailingPoller:
self.todo_service = service
self.git_service = service
- def track_actor_request(self, db, actor: str, *, update_last_requested: bool = True):
+ def track_actor_request(self, db, actor: str, *, update_last_requested: bool = True, prioritize: bool = False):
tracked_actor = db.scalar(select(TrackedActor).where(TrackedActor.actor == actor))
if tracked_actor is None:
tracked_actor = TrackedActor(actor=actor, is_active=True)