slavery-js
Version:
A simple clustering app that allows you to scale an application on multiple thread, containers or machines
1 lines • 995 B
Source Map (JSON)
{"version":3,"sources":["../../../src/service/types/Options.ts"],"sourcesContent":["type Options = {\n host?: string,\n port?: number,\n nm_host?: string,\n nm_port?: number,\n // max number of request before making more nodes\n max_queued_requests?: number,\n // fixed number of processes\n number_of_nodes?: number,\n max_number_of_nodes?: number,\n min_number_of_nodes?: number,\n // the number of request that have to be in queue before increasing the number of processes\n increase_processes_at_requests?: number,\n // the number of node that have to be idle before decreasing the number of processes\n decrease_processes_at_idles?: number,\n // thow exception on error\n throwError?: boolean,\n returnError?: boolean,\n logError?: boolean,\n // auto scale based on length of Rquest Queue and the idle rate od nodes\n auto_scale?: boolean,\n \n}\n\nexport default Options;\n"],"mappings":";;;;;;;;;;;;;;AAAA;AAAA;","names":[]}