Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add stickyOptions for sticky socket sessions #1533

Merged
merged 1 commit into from
Apr 20, 2016
Merged

add stickyOptions for sticky socket sessions #1533

merged 1 commit into from
Apr 20, 2016

Conversation

timelf123
Copy link
Contributor

@timelf123 timelf123 commented Apr 20, 2016

goes with linnovate/meanio#109
in config:

clusterSticky: false,
  stickyOptions: {
    proxy: false, //activate layer 4 patching
    header: 'x-forwarded-for', //provide here your header containing the users ip
    num: (process.env.CPU_COUNT || require('os').cpus().length) - 1,
  },

stickyOptions: {
proxy: false, //activate layer 4 patching
header: 'x-forwarded-for', //provide here your header containing the users ip
num: (process.env.CPU_COUNT || require('os').cpus().length) - 1,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'process' is not defined.
'require' is not defined.

@timelf123 timelf123 merged commit 83a44fd into linnovate:master Apr 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants