shaneharter / PHP-Daemon

Build production-ready Daemons using PHP 5.3+. Build fault-tolerant applications without the boilerplate.
Other
768 stars 166 forks source link

Create method to control worker auto-restart mechanism #31

Closed ekzobrain closed 11 years ago

ekzobrain commented 11 years ago

Create possibility to switch off worker auto-restart mechanism when it is needed. Improve creating worker ID, use default system temp dir, which can be also changed with environment variables, and get rid of creating a hardcoded directory, which can be confusing when running daemond from different system users.