Skip to content

Commit

Permalink
Fix broken platform breakoff.
Browse files Browse the repository at this point in the history
  • Loading branch information
funilrys committed Oct 11, 2024
1 parent d8f7aba commit cbf7c9c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions PyFunceble/cli/system/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,8 @@ def handle_platform_contribution() -> None:
breakoff = initial_breakoff

while True:
protocol_data = {}

for next_contract in next(
query_tool.pull_contract(
PyFunceble.storage.CONFIGURATION.cli_testing.max_workers
Expand Down Expand Up @@ -685,13 +687,15 @@ def handle_platform_contribution() -> None:
if PyFunceble.storage.CONFIGURATION.cli_testing.display_mode.dots:
PyFunceble.cli.utils.stdout.print_single_line("S")

time.sleep(breakoff)

if breakoff < max_breakoff:
if protocol_data:
breakoff = initial_breakoff
elif breakoff < max_breakoff:
breakoff += 0.02
else:
breakoff = initial_breakoff

time.sleep(breakoff)

for protocol in self.testing_protocol:
self.ci_stop_in_the_middle_if_time_exceeded()

Expand Down
2 changes: 1 addition & 1 deletion PyFunceble/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
from PyFunceble.storage_facility import get_config_directory

PROJECT_NAME: str = "PyFunceble"
PROJECT_VERSION: str = "4.3.0a4.dev (Blue Duckling: Tulip)"
PROJECT_VERSION: str = "4.3.0a5.dev (Blue Duckling: Tulip)"

DISTRIBUTED_CONFIGURATION_FILENAME: str = ".PyFunceble_production.yaml"

Expand Down
2 changes: 1 addition & 1 deletion version.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
current_version: '4.3.0a4.dev (Blue Duckling: Tulip)'
current_version: '4.3.0a5.dev (Blue Duckling: Tulip)'
deprecated:
- 3.0.21
- 3.1.20
Expand Down

0 comments on commit cbf7c9c

Please sign in to comment.