{"action":"opened","issue":{"url":"https://api.github.com/repos/belgattitude/pjbserver-tools/issues/2","repository_url":"https://api.github.com/repos/belgattitude/pjbserver-tools","labels_url":"https://api.github.com/repos/belgattitude/pjbserver-tools/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/belgattitude/pjbserver-tools/issues/2/comments","events_url":"https://api.github.com/repos/belgattitude/pjbserver-tools/issues/2/events","html_url":"https://github.com/belgattitude/pjbserver-tools/issues/2","id":175218484,"number":2,"title":"Allow setting standalone server number of threads","user":{"login":"belgattitude","id":259798,"avatar_url":"https://avatars.githubusercontent.com/u/259798?v=3","gravatar_id":"","url":"https://api.github.com/users/belgattitude","html_url":"https://github.com/belgattitude","followers_url":"https://api.github.com/users/belgattitude/followers","following_url":"https://api.github.com/users/belgattitude/following{/other_user}","gists_url":"https://api.github.com/users/belgattitude/gists{/gist_id}","starred_url":"https://api.github.com/users/belgattitude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/belgattitude/subscriptions","organizations_url":"https://api.github.com/users/belgattitude/orgs","repos_url":"https://api.github.com/users/belgattitude/repos","events_url":"https://api.github.com/users/belgattitude/events{/privacy}","received_events_url":"https://api.github.com/users/belgattitude/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/belgattitude/pjbserver-tools/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"belgattitude","id":259798,"avatar_url":"https://avatars.githubusercontent.com/u/259798?v=3","gravatar_id":"","url":"https://api.github.com/users/belgattitude","html_url":"https://github.com/belgattitude","followers_url":"https://api.github.com/users/belgattitude/followers","following_url":"https://api.github.com/users/belgattitude/following{/other_user}","gists_url":"https://api.github.com/users/belgattitude/gists{/gist_id}","starred_url":"https://api.github.com/users/belgattitude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/belgattitude/subscriptions","organizations_url":"https://api.github.com/users/belgattitude/orgs","repos_url":"https://api.github.com/users/belgattitude/repos","events_url":"https://api.github.com/users/belgattitude/events{/privacy}","received_events_url":"https://api.github.com/users/belgattitude/received_events","type":"User","site_admin":false},"assignees":[{"login":"belgattitude","id":259798,"avatar_url":"https://avatars.githubusercontent.com/u/259798?v=3","gravatar_id":"","url":"https://api.github.com/users/belgattitude","html_url":"https://github.com/belgattitude","followers_url":"https://api.github.com/users/belgattitude/followers","following_url":"https://api.github.com/users/belgattitude/following{/other_user}","gists_url":"https://api.github.com/users/belgattitude/gists{/gist_id}","starred_url":"https://api.github.com/users/belgattitude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/belgattitude/subscriptions","organizations_url":"https://api.github.com/users/belgattitude/orgs","repos_url":"https://api.github.com/users/belgattitude/repos","events_url":"https://api.github.com/users/belgattitude/events{/privacy}","received_events_url":"https://api.github.com/users/belgattitude/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/belgattitude/pjbserver-tools/milestones/1","html_url":"https://github.com/belgattitude/pjbserver-tools/milestones/2.0.4","labels_url":"https://api.github.com/repos/belgattitude/pjbserver-tools/milestones/1/labels","id":1985884,"number":1,"title":"2.0.4","description":"Small enhancements ","creator":{"login":"belgattitude","id":259798,"avatar_url":"https://avatars.githubusercontent.com/u/259798?v=3","gravatar_id":"","url":"https://api.github.com/users/belgattitude","html_url":"https://github.com/belgattitude","followers_url":"https://api.github.com/users/belgattitude/followers","following_url":"https://api.github.com/users/belgattitude/following{/other_user}","gists_url":"https://api.github.com/users/belgattitude/gists{/gist_id}","starred_url":"https://api.github.com/users/belgattitude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/belgattitude/subscriptions","organizations_url":"https://api.github.com/users/belgattitude/orgs","repos_url":"https://api.github.com/users/belgattitude/repos","events_url":"https://api.github.com/users/belgattitude/events{/privacy}","received_events_url":"https://api.github.com/users/belgattitude/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2016-09-06T10:56:19Z","updated_at":"2016-09-06T10:57:48Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-09-06T10:57:48Z","updated_at":"2016-09-06T10:57:48Z","closed_at":null,"body":"Add a parameter in configuration that allows changing the standalone server number of threads\r\n\r\nSee threads parameter below\r\n\r\n```php\r\n<?php\r\n/**\r\n * Example configuration file to use in console mode with\r\n *\r\n * $ ./bin/pjbserver-tools pjbserver:start 8089 --config-file=<config-file>\r\n *\r\n * You can adapt for your own need, but don't edit this file directly\r\n */\r\n\r\nreturn [\r\n    // Port on which the standalone server listen\r\n    'port'       => 8089,\r\n\r\n    // Specify here additional jar files or directory\r\n    'classpaths' => [\r\n        // '/my/path/autoload/*.jar',\r\n        // '/my/path/mylib.jar'\r\n    ],\r\n\r\n    // Standalone server tuning\r\n    // Number of threads for standalone server is 50, increase if needed\r\n    'threads'    => 60,\r\n\r\n    // Advanced options\r\n\r\n    // #########################################################################\r\n    //'java_bin'   => 'java',\r\n    //'server_jar' => __DIR__ . '/../resources/pjb621_standalone/JavaBridge.jar',\r\n    //'log_file'   => __DIR__ . '/../var/pjbserver-port{tcp_port}.log',\r\n    //'pid_file'   => __DIR__ . '/../var/pjbserver-port{tcp_port}.pid',\r\n    // ##########################################################################\r\n\r\n];\r\n\r\n```"}}
{"actor":{"display_login":"belgattitude"}}