(* Configuration file for the "helper_container" program. -*- tuareg -*- *)

netplex {
  controller {
    max_level = "debug";    (* Log level *)
    logging {
      type = "stderr";    (* Log to stderr *)
    }
  };
  service {
    name = "worker";
    protocol {
      (* This section creates the socket *)
      name = "rpc/operation";
      address {
        type = "internet";
        bind = "0.0.0.0:4444";
      };
    };
    processor {
      type = "worker"
    };
    workload_manager {
      type = "dynamic";
      max_jobs_per_thread = 1;
      min_free_jobs_capacity = 3;
      max_free_jobs_capacity = 3;
      max_threads = 20;
    }
  }
}
