Skip to content

Commit

Permalink
Freeze number of workers to generate and block output queue generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
funilrys committed Jan 4, 2021
1 parent c1a4338 commit 81bfdb9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis/complementary/api_file_generation.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from PyFunceble.cli.filesystem.dir_structure.restore import (
DirectoryStructureRestoration,
)
from PyFunceble.cli.threads.file_producer import FileProducerThread
from PyFunceble.cli.processes.producer import ProducerProcessesManager

# We initiate the coloration.
Expand Down Expand Up @@ -52,7 +51,9 @@
).restore_from_backup()

# We start the producer thread.
producer_process_manager = ProducerProcessesManager()
producer_process_manager = ProducerProcessesManager(
max_worker=1, daemon=True, generate_output_queue=False
)
producer_process_manager.start()

# We start and configure our availability checker.
Expand Down

0 comments on commit 81bfdb9

Please sign in to comment.