@@ -357,7 +357,7 @@ def nix_eval_config(
357
357
worker_names : list [str ],
358
358
github_token_secret : str ,
359
359
supported_systems : list [str ],
360
- eval_lock : util .WorkerLock ,
360
+ eval_lock : util .MasterLock ,
361
361
worker_count : int ,
362
362
max_memory_size : int ,
363
363
) -> util .BuilderConfig :
@@ -581,7 +581,7 @@ def config_for_project(
581
581
nix_supported_systems : list [str ],
582
582
nix_eval_worker_count : int ,
583
583
nix_eval_max_memory_size : int ,
584
- eval_lock : util .WorkerLock ,
584
+ eval_lock : util .MasterLock ,
585
585
cachix : CachixConfig | None = None ,
586
586
outputs_path : Path | None = None ,
587
587
) -> Project :
@@ -646,7 +646,7 @@ def config_for_project(
646
646
# This should prevent exessive memory usage.
647
647
nix_eval_config (
648
648
project ,
649
- [ worker_names [ 0 ]] ,
649
+ worker_names ,
650
650
github_token_secret = github .token_secret_name ,
651
651
supported_systems = nix_supported_systems ,
652
652
worker_count = nix_eval_worker_count ,
@@ -802,7 +802,7 @@ def configure(self, config: dict[str, Any]) -> None:
802
802
worker_names .append (worker_name )
803
803
804
804
webhook_secret = read_secret_file (self .github .webhook_secret_name )
805
- eval_lock = util .WorkerLock ("nix-eval" )
805
+ eval_lock = util .MasterLock ("nix-eval" )
806
806
807
807
for project in projects :
808
808
create_project_hook (
0 commit comments