diff options
Diffstat (limited to 'jobd-1.conf')
-rw-r--r-- | jobd-1.conf | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/jobd-1.conf b/jobd-1.conf new file mode 100644 index 0000000..88bac2e --- /dev/null +++ b/jobd-1.conf @@ -0,0 +1,35 @@ +host = 0.0.0.0 +port = 7079 +; password = +name = worker-1 + +master_host = 127.0.0.1 +master_port = 7081 +master_reconnect_timeout = 10 + +; Don't do this! Here i put it to /tmp only because it was +; for a test. In a real world you should use something more +; appropriate, like /var/log +log_file = /tmp/jobd-1.log +log_level_file = warn +log_level_console = warn + +mysql_host = 10.211.55.6 +mysql_port = 3306 +mysql_user = jobd +mysql_password = password +mysql_database = jobd +mysql_table = jobs2 +mysql_fetch_limit = 10 + +launcher = php /Users/ch1p/dev/jobd-php-example/src/launcher.php {id} +launcher.cwd = /Users/ch1p/dev/jobd-php-example/src +launcher.env.LC_ALL = en_US.UTF-8 +launcher.env.LANGUAGE = en_US.UTF-8 +launcher.env.LANG = en_US.UTF-8 +max_output_buffer = 16777216 + +[targets] +1/high = 10 +1/low = 10 +any = 5 |