Skip to content

Commit

Permalink
fix: give fake worker higher resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
tazlin committed Jul 7, 2024
1 parent b63dc1d commit c71fc68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/ai_horde_api/test_ai_worker_roundtrip_api_calls.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ async def fake_worker_checkin(
) -> None:
assert image_gen_request.params is not None

effective_resolution = image_gen_request.params.width * image_gen_request.params.height
effective_resolution = (image_gen_request.params.width * image_gen_request.params.height) * 2

job_pop_request = ImageGenerateJobPopRequest(
name="fake CI worker",
Expand Down Expand Up @@ -83,7 +83,7 @@ async def fake_worker(
) -> None:
assert image_gen_request.params is not None

effective_resolution = image_gen_request.params.width * image_gen_request.params.height
effective_resolution = (image_gen_request.params.width * image_gen_request.params.height) * 2

job_pop_request = ImageGenerateJobPopRequest(
name="fake CI worker",
Expand Down

0 comments on commit c71fc68

Please sign in to comment.