Skip to content

Commit

Permalink
Minimize num_threads
Browse files Browse the repository at this point in the history
  • Loading branch information
bswck committed Oct 24, 2024
1 parent c912a4c commit f2803d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit_tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def factory() -> str:
call_counts.update([thread_id])
return f"injected_object_{call_counts[thread_id]}"

num_threads = 10
num_threads = 3
barrier = threading.Barrier(num_threads)

inject("my_alias", into=scope, factory=factory, cache=False)
Expand Down

0 comments on commit f2803d3

Please sign in to comment.