File: lever.conf

package info (click to toggle)
ocamlnet 4.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 51,764 kB
  • ctags: 16,446
  • sloc: ml: 148,419; ansic: 10,989; sh: 1,885; makefile: 1,355
file content (28 lines) | stat: -rw-r--r-- 542 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
(* Configuration file for the "lever" 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 = "constant";
      threads = 1;
    }
  }
}