Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

scheduler: switch to nginx timer #111

Open
jeffkaufman opened this Issue · 0 comments

1 participant

@jeffkaufman
Owner

We run a scheduler thread, but we could probably use an nginx timer instead for better performance (and easier-to-reason-about code with fewer threads).

@jeffkaufman jeffkaufman referenced this issue from a commit
@jeffkaufman jeffkaufman rewrite driver factory: start a scheduler thread
Because we're a non-blocking server we need to run a scheduler thread or else
alerts we set might not fire.  We need to be careful to start it after we fork.

Better long term would be to use an nginx timer and avoid the extra thread;
tracking this in #111.

Fixes #55
814e0c1
@chaizhenhua chaizhenhua referenced this issue from a commit in chaizhenhua/ngx_pagespeed
@chaizhenhua chaizhenhua Fixed #111 scheduler: switch to nginx timer 8701e34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.